Question: C++ 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Write a program that reads in a temperature and

C++

1

1 2

1 2 3

1 2 3 4

1 2 3 4 5

Write a program that reads in a temperature and a C or F to tell what type of temperature it is (Celsius or Fahrenheit). Convert the input temperature to the other format and print it out. Use these formulas: C=5/9(F-32) and F=9/5C + 32. Ask the user if he/she want to convert another temperature at the end of each calculation and continue until the user enters N.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!