solution


Janice Purette exercises at her local YMCA every day. Her favorite machines are the Stair Stepper, Elliptical Trainer, and Stationary Bicycle. The Stair Stepper burns 446 calories per hour, the Elliptical Trainer burns 670 calories per hour, and the Stationary Bicycle burns 520 calories per hour. Janice needs to burn 3,500 calories for every pound she wants to lose. She wants an application that allows her to enter the number of hours she spends on each machine. The application should calculate and display the number of pounds that she exercised off. Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Exercise Solution and Exercise Project. Save the application in the ClearlyVB2012Chap06 folder. Change the name of the form file on your disk to frmMain.vb. If necessary, change the form’s name to frmMain. Create a suitable interface. Include an Exit button. Code the Exit button’s Click event procedure and the problem’s algorithm. Be sure to use the TryParse method. Display one decimal place in the number of pounds. Save the solution, and then start and test the application. Close the Code Editor window and then close the solution

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!