diff options
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index a443ef6..a85abc9 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -39,16 +39,25 @@ // -#include <iostream> +#include <iostream>; -using namespace std; using std::cout; using std::cin; using std::endl; +char Tunit = 0; +int TvalF = 0; +int TvalC = 0; + +const int Fmax = 121; +const int Fmin = -80; +const int Cmax = 49.5; +const int Cmin = -62; + int main() { - cout << "Hello World!\n"; + cout << "Please enter F for Fahrenheit or C for Celsius: "; + cin >> Tunit; } |