From df0bdf41b30a99d363ea23514a3dffe65d77d680 Mon Sep 17 00:00:00 2001 From: jacobdw22 Date: Wed, 2 Nov 2022 01:18:15 -0700 Subject: simple changes --- BlankConsoleLab/BlankConsoleLab.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'BlankConsoleLab/BlankConsoleLab.cpp') diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index bac87bf..f3e4834 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -24,14 +24,20 @@ const float CMIN = -62; //Set values for minimum and maximum temperatures. -int C_to_F(int Celsius) { - +int CtoF(int Celsius) { + return Celsius; } int main() { int Celsius = 0; + + + cout << "Please enter a temperature between -62 and 49.5 degrees Celsius: \n"; + cin >> Celsius; + cout << CtoF(12) << endl; + cout << "Hello World!\n"; } -- cgit v1.2.3