Question: Create an application, using the following names for the solution and project, respectively: Stock Market Solution and Stock Market Project. Save the application in the
Create an application, using the following names for the solution and project, respectively: Stock Market Solution and Stock Market Project. Save the application in the VB2015\Chap09 folder. The application should declare a Double array that contains 30 elements. Each element will store the price of a stock. Initialize the first 10 elements using the following values: 2.25, 2.4, 1.97, 1.97, 1.99, 1.97, 2.25, 2.87, 2.5, and 2.4. Use your own values to initialize the remaining 20 elements. The application should display the following items: the average price of the stock, the number of days the stock price increased from the previous day, the number of days the stock price decreased from the previous day, and the number of days the stock price stayed the same as the previous day. Create a suitable interface and then code the application. Display the average price with a dollar sign and two decimal places. Test the application appropriately.
Step by Step Solution
3.46 Rating (162 Votes )
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Stock Market Proje... View full answer
Get step-by-step solutions from verified subject matter experts
