Question: do this C++ question and run it successfully Account Management System In this project, you will write a program to manage a bank account and

 do this C++ question and run it successfully Account Management System
In this project, you will write a program to manage a bank
account and a stock portfolio. The program will be written using inheritance
structure for the classes. Starting with the abstract base class Account, write
two derived classes stockAccount and bankAccount. All of the accounts should be
linked together through the common cashBalance variable. The starting balance for the
account will be $10000. The balance will change as you perform the
transactions In the main menu, you can select to work with either
stock account, bank account, or exit the program. The sub menu for
each will be as following: Stock account: Display current price for ado this C++ question and run it successfully

Account Management System In this project, you will write a program to manage a bank account and a stock portfolio. The program will be written using inheritance structure for the classes. Starting with the abstract base class Account, write two derived classes stockAccount and bankAccount. All of the accounts should be linked together through the common cashBalance variable. The starting balance for the account will be $10000. The balance will change as you perform the transactions In the main menu, you can select to work with either stock account, bank account, or exit the program. The sub menu for each will be as following: Stock account: Display current price for a stock symbol Buy stock Sell stock Display current portfolio Display transactions history Return to main menu Bank account: Display current cash balance Deposit to account Withdraw from account Display transactions history Return to main menu 1. Stock Account This program manage your stock portfolio. You can purchase or sell stocks. Use the stock information in stockl.txt stock 2.txt stock .txt stock4.txt files for all of the transactions. When you initiate a transaction, you can randomly select one of the files for stock prices. Display current price for a stock symbol: this function take the symbol of a stock and display its current price. The current price will be the price of one of the stock file selected randomly. The format as follow: VNET 21Vianet Group Inc ADR 5.48 12:48:53 If the stock is not available, display corresponding message

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!