Question: Please write out the code for this program in C++, it is broken down into three parts, this is an introductory computer science course. Please

Please write out the code for this program in C++, it is broken down into three parts, this is an introductory computer science course.

Please write out the code for this program in C++, it is

Please dont use printf, and use fixed and setprecision for cout instead.

Part 1- Accept user input into an array 15 Points Write a program that asks the user to enter up to 50 temperatures (assume the user is entering the the 273.15 and 1000 degrees . The user can indicate they are finished by typing -1 Sample Input e InputOutput Please enter the temperatures in Celsius. Enter a Temperature (1 to stop):0 Enter a Temperature (1 to stop) 10.2 Enter a Temperature (1 to stop) 25.7 Enter a Temperature (1 to stop) : -1 User input Part 2- Write temperature conversion functions-10 Points In Parts 3 you will need to print the value of each temperature the user entered, converted to both Fahrenheit and Kelvin. For this part, write two functions. Each function should accept as input a temperature in Celsius One function (convertToK) should return the corresponding degrees Kelvin. The other function should return the corresponding degrees Fahrenheit (convertToF) To convert from Celsius to Fahrenheit F(9/5)C+32 To convert from Celsius to Kelvin K C + 273.15 Part 3- Write the converted temperatures to the console 15 Points Print a table to the screen with each row containing a temperature (taken from the user) in Celsius, then Fahrenheit, and finally Kelvin (which should be obtained by calling the functions in part 2). Use output formatting to make the output appear identical to the table below 0.00 32.00 273.15 10.20 50.36 283.35 25.70 78.26 298.85

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!