Question: Create a Windows Forms application. Use the following names for the project and solution, respectively: Gas Prices Project and Gas Prices Solution. Save the application
Create a Windows Forms application. Use the following names for the project and solution, respectively: Gas Prices Project and Gas Prices Solution. Save the application in the VB2017\Chap08 folder. Create the interface shown in Figure 8-51. The application should declare a class-level Double array that contains 30 elements. Each element will store the daily price of a gallon of gas. Initialize the first 10 elements using the following values: 2.25, 2.25, 2.24, 2.15, 2.05, 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 number of days the price increased from the previous day, the number of days the price decreased from the previous day, and the number of days the price stayed the same as the previous day. Code the application. Save the solution and then start and test the application.

Step by Step Solution
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 15 VisualStudioVers... View full answer
Get step-by-step solutions from verified subject matter experts
