Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can someone please help me with this and explain the code please that how everything functions A3515 J TICITE ULELIES View Homework 4, Problem 2
can someone please help me with this and explain the code please that how everything functions
A3515 J TICITE ULELIES View Homework 4, Problem 2 In this exercise, you'll develop a form that tells how many quarters, dimes, nickels, and pennies are needed to make change for any amount of change from 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. Change Calculator Amount of change de 10- 9 68 Quarters: 2 Dames 1 Nickels: Perries 1 3 Calculate But 6. Start a new project named ChangeCalculator. 7. 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. 8. 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. 9. Create an event handler for the Click event of the Exit button that closes the form. 10. Test the application to be sure it works correctly Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started