Question: Can someone please help me writing this program using loops. Thanks In this assignment you will design a program to give customers the correct change.

Can someone please help me writing this program using loops. Thanks  Can someone please help me writing this program using loops. Thanks

In this assignment you will design a program to give customers the correct change. Here are the parameters: Coins to use and their values: Half Dollars (50) Quarter Dollars (25) Dimes (10) Nickels (5) Pennies (1) The user will enter a number between 1 and 99. If the number is outside of that range, you will inform the user and terminate the program. You will use as few coins as possible. For example, if the user enters "50", you will give the answer as "One Half Dollar" and not "5 Dimes" or "50 Pennies'. You will loop through each coin denomination, with the possible exception of the penny

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!