Question: Write a program average Temp.c that asks the user to enter 5 temperature readings in Fahrenheit, and computes the average temperature in both Fahrenheit
Write a program average Temp.c that asks the user to enter 5 temperature readings in Fahrenheit, and computes the average temperature in both Fahrenheit and Celsius. The temperatures should be read in the following format: temp1/temp2/temp3/temp4/temp5 The displayed averages should always show the sign (+/-), be right aligned and include exactly 3 decimal digits, and the both temperature numbers are aligned vertically, as in the following example: The average temperature in Fahrenheit: The average temperature in Celsius: +25.500 -3.611
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
To write a program that meets the given requirements Ill provide you with a sample code in C as infe... View full answer
Get step-by-step solutions from verified subject matter experts
