PRG/420 Week 2 Java 2.22 LAB: Exact change

Availability: In stock

Regular Price: $7.00

Special Price: $5.00

OR

PRG420 Week 2 Java 2.22 LAB Exact change

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

Quick Overview

PRG/420 Week 2 Java 2.22 LAB: Exact change


Write a program with total change amount in pennies as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies.


Ex: If the input is:
0
the output is:
No change


Ex: If the input is:
45
the output is:
1 Quarter
2 Dimes

Regular Price: $7.00

Special Price: $5.00

Details

PRG/420 Week 2 Java 2.22 LAB: Exact change

Write a program with total change amount in pennies as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies.

Ex: If the input is:
0
the output is:
No change

Ex: If the input is:
45
the output is:
1 Quarter
2 Dimes

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.