Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use C++, and get screenshot of a sample output. Thank you! university bank is offering student-accounts. Each student-account has an account-number and one or

Please use C++, and get screenshot of a sample output. Thank you!

image text in transcribed

university bank is offering student-accounts. Each student-account has an account-number and one or more sub- accounts of type savings account. Students can have as many sub-accounts as they want. Account number for the first student-account is1000. (20 points)Think about the data structure. Select the approach that maks working with this data easy. Pay attention to the actions you have to take and then decideon the data structure. 1. (2 points)Ask student if he wants to open an account 2. If yes, 3.(2 points)ask if he wants to open a sub-account 4.(2 points)if yes, ask for the balance 5.(2 points)repeat step 3 until the answer is no 6.(5 points)Create the student account with one account-number and all sub-accounts 7.(5 points)repeat step 1 until the answer is no 8.(2 points)print the total number of sub-accounts 9.(10 points)sort student-accounts based on their agregated balance 10.(10 points)print the i formation of all of the accounts 11. (10 points) Ask for an account-number and delete that account if it exist 12.(20 extra point) ask for an account number, if it exist, show all of its sub-accounts, ask in which sub-account he wants to do a deposit. Ask for the deposit amount and depositit the the correct sub-account

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_2

Step: 3

blur-text-image_3

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

Database Theory Icdt 99 7th International Conference Jerusalem Israel January 10 12 1999 Proceedings Lncs 1540

Authors: Catriel Beeri ,Peter Buneman

1st Edition

3540654526, 978-3540654520

More Books

Students also viewed these Databases questions