Question: Make it c++ please CSCE 1040 Lab 1 Assignment You are to write a program that reads in lines of input using scanf or cin,

Make it c++ please
 Make it c++ please CSCE 1040 Lab 1 Assignment You are

CSCE 1040 Lab 1 Assignment You are to write a program that reads in lines of input using scanf or cin, and file redirection, process the data, and then output the results using printf or cout. This means you can use C orC++style IL/O as is your personal preference . Name your file lablassignment.c. Failure to name the file correctly may lead to a grade of zero. 2 The data file used in the example.-dmk0080/public/1040 labsone. Use file named "transactiondata" 3. The assignment must be completed by the end of the lab session. The data: . Each line of th named "transactione data file begins with an 'e, "e, or, 2. Lines beginning with 'e' will have an integer employee ID and an employce name 3. Lines beginning with 'c' will have an integer customer ID, customer name, and a floating point account balance. . Lines beginning with a will have a customer ID, employee ID, a 'wor 'd representing withdrawal or deposit, and a floating point transaction amount . Lines beginning with an 'e and'c' may be intermingled, but al'e and'c' lines will come before lines beginning with 't There will be at most 50 employees and 50 customers, and an unknown number of transactions. Names will be at most 15 characters long. 6. An example data file is shown below: e 5 Elden 3 Felipe e 3 Leonardo e 1 Yong c 9 Alessandra 8114.541862 c 6 Marnie e 8 Kourtney 2Lou c 5 Numbers 51245.66138 e 4 Jarvis e 9 Marlen e 10 Florance a 1 Devon e 2 Elliott c 8 Justina 73723.84849 c 10 Reyna e 6 Antonetta e 7 Florene c 4 Merrill 98281.82784 7 Mariana t1 8 4924.86 96 d 3220.42 t6 1 127.62 t 9 8 5566. 98 d 5414-55 t 5 7 9422.35 t 9 10 d 1382.07 t4 7 d 6131.07 t 8 2 w 2362.22 t 8 10 d 5834.48 t545150-73 t 6 2 d 3795.96 t1 9 w 3919.45 t 5 2 5037.31 t 3 9 8129.21 t8 6 d 1235-67 t2 4 d 6901.28 55342.51415 15287.78233 95053.44742 56442.27875 82946.53205 33252.21805 Page 1 of 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!