subject

Using oop, write a c++ program that will indicate the number of days in a month the temperature was above average, below average, and at the average for the month of november. using an array to count the number of days above average, below average, and average, read in an input file named novtemps. txt that gives the temperature for each day for the month. the input file should be located in the current directory. if the temperature is above the average temperature, increment the count in the index of the array that holds the count for the days above average. if the temperature is below the average temperature, increment the count in the index of the array that holds the count for the days below average. if the temperature is equal to the average temperature, increment the count in the index of the array that holds the count for the days equal to the average temperature. when the end of file has been reached, display the count for the number of days above average, the number of days below average, and the number of days equal to the average. be sure to place variables within the private accessor area of the class. use a constructor to initialize the array elements to 0. no global variables
expert answer

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:30
What kind of motivation is katrina showing? use the drop-down menu to complete the statement. katrina is using motivation because she is personally interested in learning more.
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
What does 21 pilots middle aged name as a band 15 years prior to them naming their band 21 pilots?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
You know the right answer?
Using oop, write a c++ program that will indicate the number of days in a month the temperature was...
Questions
question
Mathematics, 15.04.2020 22:19
question
History, 15.04.2020 22:20