Search for question
Question

Write a program to calculate spare change. Have the user enter the number of quarters, dimes, nickels, and pennies. Pass the values to a function. Have the function calculate and return the value. Format and display your output. Be sure to: • • put your day and classtime in a label on the form input the values as needed use a procedure to display the time in short format display the date in the load event and the fare button Scoring • use a function to calculate the cab fare • use a function to calculate the bonus • use a function to calculate the change • include working Exit Buttons • include a working Buttons calculate the correct amounts • display the correct values controls, variables and constants properly named 1 correct inputs 1 functions for 1 processing working buttons 1 calculates and displays the 2 correct values displays the 1 correct amounts output formatted 1 • properly name all controls • properly declare all variables and constants • format the output make the programs look like the examples procedure to display the time • put your name in the title bar • follow IPO • submit all the required files 1 submit all files 1 Total 10

Fig: 1