Question: In this exercise, you modify the application from Exercise 13. The modified application allows the user to update a specific price. Use Windows to make

In this exercise, you modify the application from Exercise 13. The modified application allows the user to update a specific price. Use Windows to make a copy of the Retail Solution folder. Rename the folder Modified Retail Solution. Open the Retail Solution (Retail Solution.sln) file contained in the Modified Retail Solution folder. Modify the btnRetail_Click procedure so it also asks the user to enter a number from 1 through 10. If the user enters the number 1, the procedure should update the first price in the array. If the user enters the number 2, the procedure should update the second price in the array, and so on. Save the solution and then start the application. Increase the second price by 10%. Then, increase the tenth price by 5%. (Hint: The second price in the list box should still reflect the 10% increase.)


Data From Exercise 13:

Open the VB2015\Chap09\Retail Solution\Retail Solution (Retail Solution.sln) file. Open the Code Editor window. Notice that the code declares and initializes a class-level array named dblWholesale. The btnRetail_Click procedure should ask the user for a percentage amount and then use that amount to increase each price stored in the array. The increased prices should be displayed (right-aligned with two decimal places) in the lstRetail control. Test the application appropriately.

Step by Step Solution

3.38 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Retail Project Ret... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming with Microsoft Visual Basic 2015 Questions!