Question: For Visual Basic...NOT C# In this exercise, youll develop a form that tells how many quarters, dimes, nickels, and pennies are needed to make change

For Visual Basic...NOT C# In this exercise, youll develop a form that tells how many quarters, dimes, nickels, and pennies are needed to make change for any amount of change from 0 through 99 cents. One way to get the results is to use the division and modulus operators and to cast the result of each division to an integer. 1. Start a new project named ChangeCalculator in the Extra Exercises\Chapter 05 directory. 2. Add labels, text boxes, and buttons to the default form and set the properties of the form and its controls so they appear as shown above. When the user presses the Enter key, the Click event of the Calculate button should fire. When the user presses the Esc key, the Click event of the Exit button should fire. 3. Create an event handler for the Click event of the Calculate button. Then, write the code for calculating and displaying the number of quarters, dimes, nickels, and pennies that are needed for the change amount the user enters. This code should provide for integer entries, but you can assume that the user will enter valid integer values. 4. Create an event handler for the Click event of the Exit button that closes the form. 5. Test the application to be sure it works correctly. Form: Amount of change due (0-99): Quarters: Dimes: Nickels: Pennies: Calculate Exit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!