Question
using c++ language Part 1: Write a program that prompts the user for 3 temperature values in Celsius, finds the average of the 3 values
using c++ language
Part 1:
Write a program that prompts the user for 3 temperature values in Celsius, finds the average of the 3 values and displays the average in both Celsius and Fahrenheit.
Part2:
Start with the average(Celcius) you calculated in the above program.
Use a loop(WHILE) to display a well-formatted table of the temperatures starting from the average to +/-10 temperature values.
Format your output values in fixed-point notation, with two decimal places of precision, and be sure the decimal point is always displayed and aligned.
Example: if the average of 3 temperature = 27 degrees Celsius. Display table for Celsius values ranging from 17 to 37 with corresponding Fahrenheit temperatures.
Celsius to Fahrenheit Formula: Celsius divide by 5, multiply by 9, then add 32.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started