Question: Write a C# program to make change. Enter the cost of an item that is less than 1 dollar.(100 Cents) Calculate the balance and determine

Write a C# program to make change.
Enter the cost of an item that is less than 1 dollar.(100 Cents)
Calculate the balance and determine the coins given as change, using quarters,dimes, nickels, and pennies.
Use the fewest coins possible.
For example, if the item cost 17 cents, the change would be three quarters, one nickel, and
three pennies (Balance is 100 -17 = 83)
Validate the users input i.e if the user enters more than 99 cents or negaive value program should display invalid input message. remember program ahould be such type that it ask user to enter an amount and then proceeds to do calculations and please provide code and screenshots in able to coy format easily thank you

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!