Your program should then display the temperature in degrees


(Practice)

a. Write a C++ program that first displays the following prompt:

Enter the temperature in degrees Celsius:

Have your program accept a value entered from the keyboard and convert the temperature entered to degrees Fahrenheit, using this formula:

Fahrenheit = (9.0 / 5.0) × Celsius + 32.0

Your program should then display the temperature in degrees Fahrenheit with an appropriate message.

b. Compile and execute the program written for Exercise 2a. To verify your program, use the following test data and calculate the Fahrenheit equivalents by hand, and then use your program to see whether you get the same results:

Test data set 1: 0 degrees Celsius
Test data set 2: 50 degrees Celsius
Test data set 3: 100 degrees Celsius

When you're sure your program is working correctly, use it to complete the following chart:

1889_77b3ba0c-01dd-4b54-9f93-86c80f9fe217.png

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Your program should then display the temperature in degrees
Reference No:- TGS02195876

Expected delivery within 24 Hours