Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a C++ program with these requirements: CIS 2541: C++ Language Programming Program Assignment Name: Program Assignment Points #3- Arrays, sorting. Searching. and Pointers Stock
Create a C++ program with these requirements:
CIS 2541: C++ Language Programming Program Assignment Name: Program Assignment Points #3- Arrays, sorting. Searching. and Pointers Stock LookUp C++ Program documentation alignment/spacing file input pointer memory functions .main 5 pts 5 pts 10 pts 15 pts e sorting pointers 10 pts. searching symbols5 pts. accuracy output formatting demo 10 pts 10 pts 10 pts. Total* 90 pts. "60 point maximum for code that cannot compile or execute. On your own, create a modular C++ program to lookup the trading symbol in a given stock portfolio. The program will use dynamic parallel arrays to hold the stock data: trading symbol, company name, number of shares and current price. Do not use global variables or constants in your solution Stock portfolio information is read from file and can contain any number of stocks. The first line of the file contains an integer identifying the remaining number of stocks to read from the file. Each remaining line in the file contains data for a single stock (data types in parentheses): trading symbol (multiple characters), company name (multiple characters with embedded spaces and end delineated by #), number of shares (integer), and current price (real). Sample stock file given below: MCD McDonald's Corporation 35 99.25 HD The Home Depot, Inc.# 31 115.54 F Ford Motor Co.# 288 16.49 WMT Wal-Mart Stores Inc. 10 83.33 BA The Boeing Company# 24 151.46 a) Create the source code file StockLookUp.cpp. Add a block comment at the top of the file to identify your name, file, date, class, assignment, and short description of the program Step 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