Question: Please write c++ code based on below instructions and meet all the requirements. Please enter the below inputs to get the same outputs in the

Please write c++ code based on below instructions and meet all the requirements. Please enter the below inputs to get the same outputs in the screenshot. THANKS!!!

Please write c++ code based on below instructions and meet all therequirements. Please enter the below inputs to get the same outputs inthe screenshot. THANKS!!! Use the input file below to get the sameoutputs as are in the screenshot. -------------------------------------------------- # 1100 1 Scotty 01/11/2100Enterprise 3 01/11/2120 1 100 01/21/2120 2 200 01/15/2120 3 50 #1200 2 Kirk 02/12/2200 Enterprise Mr. Spock 03/13/2300 Galaxy Way 2 02/15/23203 100 02/11/2320 1 200 # 1300 3 H Solo 04/14/2400 MilleniumFalcon Chewbacca 05/15/2500 Chewy's home C-3PO 06/16/2600 Milky Way 3 03/16/2630 2500 03/11/2620 1 300 03/12/2620 3 200 ----------------------------------------------------- HW9 (Graded out of100) Your program will read from an input file that contains account

Use the input file below to get the same outputs as are in the screenshot.

--------------------------------------------------

# 1100 1 Scotty 01/11/2100 Enterprise 3 01/11/2120 1 100 01/21/2120 2 200 01/15/2120 3 50 # 1200 2 Kirk 02/12/2200 Enterprise Mr. Spock 03/13/2300 Galaxy Way 2 02/15/2320 3 100 02/11/2320 1 200 # 1300 3 H Solo 04/14/2400 Millenium Falcon Chewbacca 05/15/2500 Chewy's home C-3PO 06/16/2600 Milky Way 3 03/16/2630 2 500 03/11/2620 1 300 03/12/2620 3 200

-----------------------------------------------------

records. Each account record starts with a delimiter, which is the character,

HW9 (Graded out of 100) Your program will read from an input file that contains account records. Each account record starts with a delimiter, which is the character, followed by the account number, followed by the number of owners, followed by one or more owner records (there is one record for each owner), followed by the number of transactions, followed by one or more transaction records (there is one record for each transaction). An owner record consists of the owner's name followed by the owner's DOB in mm/dd/yyyy format, followed the owner's address. A transaction record consists of the transaction date, followed by the transaction type (1 for account creation, 2 for deposit, and 3 for withdrawal) followed by the amount. The various fields are separated by a white space, except for the owner's name and address, which are surrounded by a new line. Below is an example of account record. The // comments are added for clarification, but are not part of the file content

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!