My program will prompt the user for an input file that contains one line for
each person to whom the Company provided service. Each line has the following
values, separated by commas:
The last name of the person (string value)
The first name of the person (string value)
The hourly rate used (float value)
The total consulting time in minutes (int value)
The person’s income (float value)
For example, input lines may look something like:
Smith, John, 70.50, 32, 10000.00
Rhys David, Jennifer, 45.00, 56, 75432.10
Then my program has to do the math and get an answer then prompted the user with something like this:
Enter input file name: input.txt
Total Charges: $ 2353.00
Average Charge: $ 127.60