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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 17:20, Morehollie9428
What is the best assassins creed game?
Answers: 2
image
Computers and Technology, 24.06.2019 14:30, heathersloan274
Which computer network component connects two different networks together and allows them to communicate? a is a node (or a device) that connects two different networks together and allows them to communicate.
Answers: 1
image
Computers and Technology, 25.06.2019 08:00, shadowangel84
Is skill in using productivity software, such as word processors, spreadsheets, database management systems, and presentation software. computer literacyinformation literacybusiness literacynetwork literacy
Answers: 1
image
Computers and Technology, 25.06.2019 15:00, alanahjones63
What is the first step in necessary to begin setting up a website once a host has been selected and paid
Answers: 1
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 in other subjects: