Create a program that takes stocks symbol and company name

Assignment Help C/C++ Programming
Reference no: EM131651397

Assignment

Using Visual studio and c++

1. You will pick 10 stocks from this list:

2. Create a program that takes the stock's symbol, company name, last price, change, and volume as input from a file. How the file is formatted and inputed is up to you and you can put underscores between words in the companies name instead of using spaces. Store these values in either

o . A 2 dimensional array or vector of strings (may require converting strings to floats using: stof(stringVariable,nullptr); )

o . 5 individual arrays or vectors of their correct types

o . You may create a class or struct with the proper members for the data for each company, then create an array or vector of the class or struct type.

3. After input, it will display the information on the terminal. Users will have the option of sorting the information by any of the five categories of information. Depending on which category the data is being sorted by, you will sort using a different sorting algorithm.

4. The user will also be able to change the stock price.. When this option is selected,

1. the user should input the stock symbol.
2. The array will be searched using a binary search
3. If the symbol is found, all the information for that company will be displayed, else an error message will be displayed.
4. The user will be able to enter a new price for the stock.
5. This value will be updated in the array.

5. When the user exits, all data will be written back to the file.

Reference no: EM131651397

Questions Cloud

Write down the integrative application : This text introduced you to the basics of descriptive statistics. Many of the business application problems, advanced business application problems.
What is the vertical stress on the virgin seam : What is the total ore resource in tonnes - Describe suitable surface connection and Determine the factor of safety against failure for the pillar
Prepare classified balance sheet : Use a separate sheet of paper to prepare classified balance sheet and statement of retained earnings
Characteristics of a product or a service : Quality comprises of the characteristics of a product or a service that bear on its ability to satisfy stated or implied customer needs.
Create a program that takes stocks symbol and company name : Create a program that takes the stock's symbol, company name, last price, change, and volume as input from a file.
Outline the steps in the strategic management process : Explain the importance of a strategy-oriented HR system Outline the steps in the strategic management process
Objectives of the talent management project : What guidelines would you establish as part of Rudiger's plan that emphasize the use of the Internet via the company's website to communicate.
Define the consumer price index-cpi : Look up information on the Consumer Price Index-CPI. The CPI FAQs section is especially interesting and useful
Marketing moves from consumer era to relationship era : Discuss how brand building is changing as marketing moves from the consumer era to the relationship era.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd