Question: Please write a C++ program in Visual Studio with the following requirement. You will write a program that will help in the management of a

Please write a C++ program in Visual Studio with the following requirement.

Please write a C++ program in Visual Studio with the following requirement.

You will write a program that will help in the management of

a private bank. General Requirements Write a program that reads (each time

You will write a program that will help in the management of a private bank. General Requirements Write a program that reads (each time the program is executed) from the secondary storage from a file named accounts.txt the account numbers and balances into a one-dimensional array of Objects of type Account Your program will ask the user to choose one of the following options: 1. Deposit Money 2. Withdraw Money 3. Transfer Money 4. Show Transactions 5. Open an Account 6. Close an Account 7. SearchForAccountIndexUsingAcctOwnersName 8. SearchForAccountIndexUsingAcctNumber 9. Sort Accounts from largest balance to smallest 10. Sort Accounts in alphabetical order using the account owners name 11. Quit Program . The program will have at least two classes: Person and Account . The program will have a structure named Date, which has three members (day, month, and Year) . The class Person will have at least four private members (string fname, string lname, int ssn, a variable named birthdate of type date) .The class Person will also have at least four public member functions 1. constructor that receives two strings and four integers to initialize all instance variable 2. print function to print the person's information (first name, last names, birthdate, and only the last four of the SSN preceded by five stars/astrisks) 3. getFname function to return the fname 4. The class Account will have at least six private members (Person owner, int acctNo, double balance, a variable named openDate of type date, a variable named closeDate of type date, bool closed) The class Account will also have at least five public member functions: getLname function to return the Iname . . 1. constructor that receives two strings and four integers to initialize all instance variable of the owner as well as a double to initialize the balance and four integers to initialize the acctNo and the openDate. The constructor will initialize the bool closed to false print function to print the owner's information and the account information (account Number, Balance, and Open Date) deposit function that receives one parameter of type double withdraw function that receives one parameter of type double transfer function that receives two parameter: one parameter of type double and the one parameter of type Account 2. 3. 4. 5. seven user-defined functions (one function for each of the options 5-10, one to print the ptions . menu) You will write a program that will help in the management of a private bank. General Requirements Write a program that reads (each time the program is executed) from the secondary storage from a file named accounts.txt the account numbers and balances into a one-dimensional array of Objects of type Account Your program will ask the user to choose one of the following options: 1. Deposit Money 2. Withdraw Money 3. Transfer Money 4. Show Transactions 5. Open an Account 6. Close an Account 7. SearchForAccountIndexUsingAcctOwnersName 8. SearchForAccountIndexUsingAcctNumber 9. Sort Accounts from largest balance to smallest 10. Sort Accounts in alphabetical order using the account owners name 11. Quit Program . The program will have at least two classes: Person and Account . The program will have a structure named Date, which has three members (day, month, and Year) . The class Person will have at least four private members (string fname, string lname, int ssn, a variable named birthdate of type date) .The class Person will also have at least four public member functions 1. constructor that receives two strings and four integers to initialize all instance variable 2. print function to print the person's information (first name, last names, birthdate, and only the last four of the SSN preceded by five stars/astrisks) 3. getFname function to return the fname 4. The class Account will have at least six private members (Person owner, int acctNo, double balance, a variable named openDate of type date, a variable named closeDate of type date, bool closed) The class Account will also have at least five public member functions: getLname function to return the Iname . . 1. constructor that receives two strings and four integers to initialize all instance variable of the owner as well as a double to initialize the balance and four integers to initialize the acctNo and the openDate. The constructor will initialize the bool closed to false print function to print the owner's information and the account information (account Number, Balance, and Open Date) deposit function that receives one parameter of type double withdraw function that receives one parameter of type double transfer function that receives two parameter: one parameter of type double and the one parameter of type Account 2. 3. 4. 5. seven user-defined functions (one function for each of the options 5-10, one to print the ptions . menu)

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!