From f88cadbd54f08d9b058979a6c2d221b20ab3b25d Mon Sep 17 00:00:00 2001 From: Anibal LopezBonilla Date: Mon, 7 Nov 2022 13:02:28 -0800 Subject: Push 3 --- BlankConsoleLab/BlankConsoleLab.cpp | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'BlankConsoleLab/BlankConsoleLab.cpp') diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 8183f7b..01b9755 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -55,7 +55,7 @@ int CeltoFar() } -int FartoCel() +int FahtoCel() { cout << "Type your temprature in Fahrenheit: "; cin >> Fah; @@ -76,19 +76,11 @@ int FartoCel() return WindSpeed; return Cel; } -int readI() -{ - int choose = 1; - - cout << "Type your selection here: "; - cin >> choose; - return choose; -} //Driver Program int main() { - cout << "Welcome to the Menu!!" << endl; + Menu(); cout << "Cel or Fah" << endl << "Please type C or F: "; cin >> Sel; @@ -96,10 +88,11 @@ int main() if (Sel == 'C' || Sel == 'c') { CeltoFar(); + printFunctionCF(); } else if (Sel == 'F' || Sel == 'f') { - FartoCel(); + FahtoCel(); } else { @@ -107,6 +100,6 @@ int main() cin >> Sel; } - printFunctionCF(); + } -- cgit v1.2.3