Clearly Visual Basic Programming with Microsoft Visual Basic 2012 5th Edition Chapter 3 Exercise 3 Pennies Solution
In this exercise, you create an application that allows your friend Miranda to enter the number of pennies she has in jar. The application should calculate the number of dollars, quarters, dimes, nickels, and pennies she will receive when she cashes in the pennies at a bank. Create a Visual Basic Windows application. Use the following name for the solution and project, respectively: Pennies Solution and Pennies Project. Save the application in the VB2012\Chap03 folder.Change the form file’s name to MainForm.vb Change the form’s name to frmMain. Create the interface shown in Figure 3-58. Make the Calculate button the default button. Code the application appropriately. (It might be helpful to review the information in Figures 2-34 and 2-35 in Chapter 2.) Clear the calculated amounts when a change is made to the number of pennies entered by the user. ave the solution and then start the application. Test the application twice, using the following data: 706 pennies and 533 pennies. Close the Code Editor window and then close the solution.