Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please use C++ and seperate h.file and cpp.file for me. Thanks! Account Management System In this project, you will write a program to manage a
Please use C++ and seperate h.file and cpp.file for me. Thanks!
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 nformation in stock 1.txt stock 2. txt stock3. txt stock 4. txt files for all of the transactions. When you initiate a transaction, you c an 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 21Vianet Group Inc. ADR 5.48 12:48:53 ET If the stock is not available, display corresponding messageStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started