From b8f41c2284910bd7f2493fe33727652014e8da34 Mon Sep 17 00:00:00 2001 From: Taylor Rogers Date: Sat, 5 Nov 2022 09:47:44 -0700 Subject: Started adding variables --- BlankConsoleLab/BlankConsoleLab.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'BlankConsoleLab') 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 +#include ; -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; } -- cgit v1.2.3