|
@ -32,9 +32,7 @@ int main() { |
|
|
int input; |
|
|
int input; |
|
|
Menu(); |
|
|
Menu(); |
|
|
cin >> input; |
|
|
cin >> input; |
|
|
|
|
|
do { |
|
|
while (input != 4) { |
|
|
|
|
|
|
|
|
|
|
|
if (input == 1) { |
|
|
if (input == 1) { |
|
|
cout << "Enter temperature in Celsius: "; |
|
|
cout << "Enter temperature in Celsius: "; |
|
|
cin >> input; |
|
|
cin >> input; |
|
@ -55,6 +53,7 @@ int main() { |
|
|
C = input; |
|
|
C = input; |
|
|
cout << setprecision(2) << convertC2K << endl; |
|
|
cout << setprecision(2) << convertC2K << endl; |
|
|
} |
|
|
} |
|
|
|
|
|
while (input != 4) |
|
|
} |
|
|
} |
|
|
cout << "\nExiting..."; |
|
|
cout << "\nExiting..."; |
|
|
return(0); |
|
|
return(0); |
|
|