I have the following program that works great, but I don't know how to set it up using a "main" and "function" program using the following specifications:
- Change has one input – an amount of change to be returned between 0 and 99 cents
- Change has four outputs – the number of quarters, dimes, nickels, and cents to be returned.
- Prompt the user in the main function to enter an integer from 0 to 99 corresponding to an amount of change to be returned.
- Call the function in the main program.
-The main program should display the number of quarters, dimes, nickels, and cents to be returned (with descriptive names, such as:
Number of quarters = 2)