Question: Business Stats Write a program that asks the user for a file name. Assume the file contains a series of bank account balances for your
Business Stats
Write a program that asks the user for a file name. Assume the file contains a series of bank account balances for your bank, each written on a separate line. The program should read the contents of the file into an array then display the following data:
The minimum account balance in the array
The maximum account balance in the array
The sum of the account balances in the array
The mean of the balances in the array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
