Answer to Question #104888 in C++ for Dennis Adaayuga

Question #104888
4. Write an application that inputs temperature in degrees Celsius and prints out the temperature in degrees Fahrenheit. [NB: Fahrenheit=1.8 x Celsius + 32]
1
Expert's answer
2020-03-09T11:22:05-0400
#include <iostream>

using namespace std;

int main(void){

int cels;

double fah;

cin >> cels;

fah = 1.8 * cels + 32.0;

cout << fah;

return 0;

}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS