Question: c++ E8.2 Write a program that reads a text file containing floating-point numbers. Print the average of the numbers in the file. Prompt the user
c++

E8.2 Write a program that reads a text file containing floating-point numbers. Print the average of the numbers in the file. Prompt the user for the file name. Repeat Exercise E8.2, but allow the user to specify the file name on the command-line. If the user doesn't specify any file name, then prompt the user for the name -E8.3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
