Question: Using Dev C++ (21 points) Create a data file containing around (but not exactly) 100 integers. The numbers should be on multiple lines in the

Using Dev C++

Using Dev C++ (21 points) Create a data file containing around (but

(21 points) Create a data file containing around (but not exactly) 100 integers. The numbers should be on multiple lines in the file, but do not include the same number of integers on each line of the file. Write a C++ program to read the integers into an array with a max size of 200.e., search for eof marker). The program should then determine and display (on the computer screen) the average value of the numbers (a real value), the number of integers greater than the average, and the number of integers less than the average. Print the program, the data file, and the output. 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!