Question: Write a complete C + + program that reads in an array of type int. The program provides facility to either read an array from

 Write a complete C + + program that reads in an

Write a complete C + + program that reads in an array of type int. The program provides facility to either read an array from the keyboard or from a file, at the user's choice. If the user chooses file input, the program should request a file name. You may assume that there are less than 100 entries in this array. Your program determines how many entries there are. in addition, the program should also find the maximum number in the array and calculates the average of the array. You are required to use functions

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!