Write a program that accepts a sequence of average daily


1. Modify the previous program to get its input from a file.

2. Heating and cooling degree-days are measures used by utility companies to estimate energy requirements. If the average temperature for a day is below 60, then the number of degrees below 60 is added to the heating degree-days. If the temperature is above 80, the amount over 80 is added to the cooling degree-days. Write a program that accepts a sequence of average daily temps and computes the running total of cooling and heating degree-days. The program should print these two totals after all the data has been processed.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program that accepts a sequence of average daily
Reference No:- TGS01705016

Expected delivery within 24 Hours