Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Bookmarks People Window Help CSCI 1: Problem Solving and x Final Project xProgramming Assignm loads/Final Proj_Sp18-1.pdf Develop a C+ program to simulate a bank operation.

image text in transcribed
image text in transcribed
image text in transcribed
Bookmarks People Window Help CSCI 1: Problem Solving and x Final Project xProgramming Assignm loads/Final Proj_Sp18-1.pdf Develop a C+ program to simulate a bank operation. Your program prompts the user for the file name, then opens it, and reads the entire file and store the data. The program will be controlled by a menu. Make the arrays size 50, and make sure it does not overflow Implement the following menu: A .. Add new customer to the current bank. R-Remove customer from the current bank 'P. .. Print all customers in the current bank to the monitor WMake a wi thdraw. DMake a deposit. sSave current bank information to a file. TSort list V Print a customer's details in a page format to the monitor. xEit the program Comments: For A : Add a customer to the bank, do NOT duplicate customers. Prompt user for customer data For R: Remove a customer from the bank. Prompt user for last name. For P: Print all customers name and balance in the bank to the moni tor in a tabular format. (See sample below) For S: Prompt the user for the file name. Write the Bank data to the file in a tabular format For V.W and D: Prompt the user for the customer name. If name not found, print error message and go back to the menu. For X: Make sure to save the Bank to the disk in the original input file format. Print an ending messoge to the monitor. Then halt the program For T- Sort Customers. This will display a sub-menu: N Sort on Last names B-Sort on Balance. And allow user to choose what kind of sort is needed, then display the tabular list by calling the print function For Vi Prompt user for a name and then locate the customer on the list and print all the information to the monitor Requirements 1) Must use arrays of structures to store customers data 2) Program must be modular (Use as mony functions as possible)

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

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

Students also viewed these Databases questions