63 083
Assignments Done
99,1%
Successfully Done
In July 2018

Answer to Question #21347 in C++ for Candice Battle

Question #21347
Allow the user to enter a series of temperatures in degree Celsius (C) terminated by the input of -999. For each one, find the corresponding temperature in degrees Fahrenheit (F). The conversion formula is: F = 9 * C/5 + 32.
Expert's answer
#include <conio.h>
#include <iostream>

using namespace std;

int main()
{
float F,C;
cout<<"Enter degree Celsius: (-999 - exit): ";
cin>>C;
while(C!=-999){
F = 9 * C/5 + 32;
cout<<"Degree Fahrenheit is : "<<F;
cout<<"
Enter degree Celsius: (-999 - exit): ";
cin>>C;
}
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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions