Question: Temperature conversions. The following problems generate temperature-conversion tables, Write the code for each part using the following equations that give relationships between temperatures in degrees

 Temperature conversions. The following problems generate temperature-conversion tables, Write the code

Temperature conversions. The following problems generate temperature-conversion tables, Write the code for each part using the following equations that give relationships between temperatures in degrees Fahrenheit degrees Celsius degrees Kelvin and degrees Rankin: T_F = T_R - 459.67 degree R T_F = (9/5)T_C + 32 degree F T_R = (9/5) T_K Write a program to generate a table of conversions from Fahrenheit to Celsius for values from 0 degree F to 100 degree F. Print a line in the output table for each 5 degree change. Use a while loop in your solution. Write a program to generate a table of conversions from Fahrenheit to Kelvin for values from 0 degree F to 200 degree F. Allow the user to enter the increment in degrees Fahrenheit between lines. Use a do while loop in your solution. Write a program to generate a table of conversions from Celsius to Rankin. Allow the user to enter the starting temperature and increment between lines. Print 25 lines in the table. Use a for loop in your solution. Write a program that allows the user to enter the percentage grade of 30 students in a class. The program should have the following conditions: a) Make sure the user enter 30 valid percentage grades between 0 and 100. If the user enter out of rage value, the program should show the error message "Not correct grade in percentage scale" and don't use that grade. b) By entering each grade in percentage, the program should show the corresponding grade and grade definition at the output screen according to the following table. c) After the user finish entering the grades, the program should show the number of students and the average GPA of students in each six grade definitions as shown in the table. d) Finally program should show the average GPA of all students in percentage scale [0-100] and GPA scale [0-4]

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!