The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
The question is in stock14Fall file. I need this answer very quickly unfortionalty by actually 11:40 tonight if anyone can do it
Â
Page1of4Project FiveThe Stock ProblemAn investor, who is considering the purchase of two stocks, has collected the prices ofthe two stocks for20 consecutive days.These are the two arrays with 20 prices forFordand forHonda.Declare the arrays local to main.double ford[]= {34.25,40.50,36.50,40.00,30.25,30.25,35.50,36.00,34.25,37.00,34.00,35.00,36.25,34.25,40.50,41.50,41.50,40.00,36.50,34.50};double honda[] = {40.25,38.50,34.50,33.50,30.50,29.75,37.50,36.00,34.75,38.00,34.25,37.00,34.25,37.50,34.50,38.50,37.50,37.25,38.25,37.50};Use this string array for displaying the correct stock name in the report:string name[] = {"Ford", "Honda", "Audi"};You will need to add this include:#include <string>Write a C++ program to perform an analysis on the data, displaying four reports for theuser.The AnalysisReport OneThis report displays the highest and lowest price in thefordarray, and the highest andlowest price in thehondaarray.Here is an example:
-----------