Question: I need java code for this question .Please help Exercise 3 of 3: You work at a bank and a client comes in with a
I need java code for this question .Please help
Exercise 3 of 3: You work at a bank and a client comes in with a check of a certain amount. The client wants the check to be paid out in cash, and he wants the smallest number of bills and coins possible. First, ask the user to enter the amount of the check that is supposed to be paid out Then calculate minimum number of bills and coins it would take to cash out the check, and tell the client in the console what he will receive as follows: For a check worth SXXX.XX dollars, you will receive: x $100 bills x S50 bills x $20 bills x $10 bills x $5 bills x $1 bills x quarters x dimes x nickels x pennies We will disregard lesser common bills and coins such as $2 bills or $1 coins, etc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
