Question: Name your file lab 1 assignment.cpp . Failure to name the file correctly may lead to a grade of zero. 2 . The data file
Name your file labassignment.cpp Failure to name the file correctly may lead to a grade of zero.
The data file used in the example is available at: ~dmkpubliclabsone
or in the Cavans assignment. Use the file named "transactiondata"
Use command line redirection to execute as in aout transactiondata
to compile use g labassignmentcpp to create the executable file aout
The data:
Each line of th named "transactione data file begins with an ec or t
Lines beginning with e will have an integer employee ID and an employee name.
Lines beginning with c will have an integer customer ID customer name, and a floating point account balance.
Lines beginning with a t will have a customer ID employee ID a w or d representing withdrawal or deposit,
and a floating point transaction amount.
Lines beginning with an e and c may be intermingled, but all e and c lines will come before lines beginning
with t
There will be at most employees and customers, and an unknown number of transactions. Names will be at
most characters long.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
