Question: Chapter 5 Homework 1 Homework 5-1: Celsius to Fahrenheit Table In Chapter 3, you were asked to write a program that converts a Celsius temperature

 Chapter 5 Homework 1 Homework 5-1: Celsius to Fahrenheit Table InChapter 3, you were asked to write a program that converts a

Chapter 5 Homework 1 Homework 5-1: Celsius to Fahrenheit Table In Chapter 3, you were asked to write a program that converts a Celsius temperature to Fahrenheit. Modify the logic so that it asks for a beginning and ending Celsius temperature and use a loop to display a table of Celsius temperatures and their Fahrenheit equivalents. The beginning and ending temperatures should be able to accept a decimal number. We will round the beginning and ending numbers but NOT in the traditional rounding manner. If ending value is smaller than the beginning value, adjust the numbers to be increasing order. Round the smaller value down to the nearest integer. Round the larger value up to the nearest integer. So if the smaller temperature is 34.23, it would be rounded to 34. If the larger temperature is 45.4, it would be rounded to 46. The table should show the values right-justified in columns, with the Celsius values shown as integers (no decimal point) and with the Fahrenheit values displayed with two digits after the decimal point. Do not use the C++ functions: floor, ceil, or round. Temperature Conversion Table Celsius Fahrenheit 9 48.20 10 50.00 11 51.80 12 53.60 13 55.40 14 57.20 15 59.00 Deliverables: Program file and screen shot. Use 35.1 to 5.6 as the range

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!