Question: object oriented programing (oop) please Use what you have learned about loops, arrays and file stream. Write a C ++ program that asks the user
Use what you have learned about loops, arrays and file stream. Write a C ++ program that asks the user for a file name. Presume that the file holds a sequence of numbers, each of which is written in a separate line. The program must read the contents of the file in an array, and then displays the following data: . Smallest number in the array. Largest number in the array Total numbers in the array. Average of numbers in the array. . Occurrence of a number entered by a user
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
