Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write a program to process a collection of daily high temperatures . Your progra

ID: 3657543 • Letter: W

Question

write a program to process a collection of daily high temperatures . Your program should count and print the number of hot days (high temperature 85 or higher ) ,the number of pleasant days (high temperature 60-84) ,the number of cold days (high temperature less than 60).It should also display the category of each temperature .Test your program on following data : ((58 65 68 74 59 45 41 58 60 67 65 78 82 88 91 92 90 93 87 80 78 79 72 68 61 59)) [[Please do ut readable , i will really appreciate that,Thanks for the help!}]]]]

Explanation / Answer

/*Becoz of browser problem my code is not in right readable format....so you may also download the code from.......http://www.2shared.com/file/8ot8RkxQ/TEMPEARA.html */ #include#include void main() { int noOfTemp; int temperature[31]; int numOfHotDays=0; int numOfPleasantDays=0; int numOfColdDays=0; int i; clrscr(); coutnoOfTemp; if(noOfTemp!=0) cout=85) numOfHotDays++; else if(temperature[i]>=60 && temperature[i]