Question: Need help with c++ program. Write a program that stores stock symbols into dynamic arrays. The user will enter as many stocks as he/she wishes.
Need help with c++ program.
Write a program that stores stock symbols into dynamic arrays. The user will enter as many stocks as he/she wishes. The program should display the list of stocks after each one is entered. Sort stocks in alphabetical order. After that, use the program as a starting point for a menu-based program. The menu-based program should include these options:
1. Add a new stock.
Include room for the stock symbol, the name of the stock, and the current price.
2. Edit a stock.
Provide the ability to locate a stock based on its respective symbol and change the current price.
3. Delete a stock.
Offer the user the opportunity to enter a stock symbol and, if found, to delete the stock. If the particular stock symbol is not found, simply display an informative message to the user.
4. Display all stocks.
Display a list of all the current stocks stored in the array.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
