When a non-profit group holds charity events they save the


When a non-profit group holds charity events, they save the data about the expenses, ticket sales, and profits in a data file. They would like to have a program that will help them determine how much money the event generated or lost.

Each line of the data file contains an identifier and an amount. The identifier is an uppercase letter-
T = ticket sales
D = donations
E = expenses

After the letter, an amount is listed.

Sample data file lines would be-

T 25.00
E 210.99
D 100.00
E 34.67

Solution Preview :

Prepared by a verified Expert
Other Subject: When a non-profit group holds charity events they save the
Reference No:- TGS01129119

Now Priced at $40 (50% Discount)

Recommended (97%)

Rated (4.9/5)