Question: 4. write a C# program to make change. Enter the cost ofan item less than a dollar and assume the customer is paying with a

 4. write a C# program to make change. Enter the cost

4. write a C# program to make change. Enter the cost ofan item less than a dollar and assume the customer is paying with a dollar bill Output the coins given as change using quarters, dimes, nickels, and pennies, use the fewest coins possible. For evample, if the item cost 17 cents, the change would be 3 quarters, 1 nickel, and 3 pennies

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!