Create an application, using the following names for the solution and project, respectively: Stock Market Solution and

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: