Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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!!!

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

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

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2004 Workshops Edbt 2004 Workshops Phd Datax Pim P2panddb And Clustweb Heraklion Crete Greece March 2004 Revised Selected Papers Lncs 3268

Authors: Wolfgang Lindner ,Marco Mesiti ,Can Turker ,Yannis Tzitzikas ,Athena Vakali

2005th Edition

3540233059, 978-3540233053

More Books

Students also viewed these Databases questions

Question

4. Are there any disadvantages?

Answered: 1 week ago

Question

3. What are the main benefits of using more information technology?

Answered: 1 week ago

Question

start to review and develop your employability skills

Answered: 1 week ago