Question: C++ Programming Language Write a program to process a collection of daily temperatures. Your program should be able to receive the temperature readings from user,

C++ Programming Language

C++ Programming Language Write a program to process a collection of daily

Write a program to process a collection of daily temperatures. Your program should be able to receive the temperature readings from user, counting and display the category of temperature of each day in a report. Lastly display the summary of each data by the end of the report. Report should consist of: average temperature, number of days for each categories and category of temperature for each data. Temperature Category Temperature Range Greater than 85 degrees 60 to 35 degrees Less than 60 degrees very hot pleasant day very cold Note: you are required to use a loop and if else statement. Sample of output: Please enter temperature readings Temperature day [1] 12 12 Celcius very cold Do you want to continue : Y Temperature day [2] = 86 86 Celcius very hot Do you want to continue : Y Temperature day [3] = 35 35 Celcius very cold Do you want to continue : Y Temperature day [4] = 21 21 Celcius very cold Do you want to continue : Y Temperature day [5] = 68 68 Celcius pleasant day Do you want to continue : N Daily Temperatures Report The average Temp for 5 days = 44.4 Celcius Number of hot days = 1 day/ Number of pleasant day = 1 day/s Number of cold days = 3 day/

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!