Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/update-prices-solution-vb-2010/
- In the form’s Declarations section, declare a one- dimensional Double array named prices. Initialize the array using the follow-ing 10 prices: 6.75, 12.50, 33.50, 10.00, 9.50, 25.50, 7.65, 8.35, 9.75, and 3.50. Open the code template for the Increase button’s Click event procedure. Th e procedure should ask the user for a percentage amount by which each price in the array should be increased. It then should increase each price by that amount and display the increased prices in the list box. ( Hint: You can clear the contents of a list box using the Items collection’s Clear method.) Save the solution and then start the application. Click the Increase button. Increase each price by 5%.
- Download: http://solutionzip.com/downloads/update-prices-solution-vb-2010/
Advertisement
Add Comment
Please, Sign In to add comment