subject

A) 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), and the number of cold days (high temperatures less than 60). it should also display the category of each temperature. test your program on the 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

b) modify your program to display the average temperature (a real number) at the end of the run.

*notes:
your program should prompt the user the following:

1. enter 28 radings for temperature
2. display the hottest days(high temperature 85 or higher).
3. display pleasant days(temperatue between 60-84).
4. display number of cold days(high temperatue less than 60).
5. finally display the average temperature.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
Think about some of the most memorable and forgettable games ever created. they can be games that were discussed in this unit or otherwise. what are some of the consistent factors that made certain games memorable to you? what were some of the consistent factors that made certain games forgettable to you? why? explain.
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Brian wants to conduct an online search with a certain phrase. he intends to use the words books that belong to the 1800s in his search. how should he use the word that in his search?
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Answer these and get 40 points and brainliest
Answers: 1
You know the right answer?
A) write a program to process a collection of daily high temperatures. your program should count and...
Questions
question
Mathematics, 04.11.2020 01:20
question
Mathematics, 04.11.2020 01:20
question
Computers and Technology, 04.11.2020 01:20
question
History, 04.11.2020 01:20
question
Mathematics, 04.11.2020 01:20
question
Arts, 04.11.2020 01:20