- Home /
- Python /
- CYB130 Object-oriented Scripting Language /
- CYB/130 Week 2 Python LAB 3.27: Exact change
Details
CYB/130 Week 2 Python LAB 3.27: Exact change
Write a program with total change amount 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
(or less than 0), the output is:
No change
Ex: If the input is:
45
the output is:
1 Quarter
2 Dimes
Additional Information
Special Price | $3.00 |
---|
Product Tags
Use spaces to separate tags. Use single quotes (') for phrases.
Check items to add to the cart or select all
-
CYB/130 Week 2 Python LAB 3.11: Input and formatted output: Right-facing arrow
Regular Price: $8.00
Special Price $3.00
-
CYB/130 Week 2 Python LAB 3.12: Phone number breakdown
Regular Price: $8.00
Special Price $3.00
-
CYB/130 Week 2 Python LAB 3.13: Input and formatted output: House real estate summary
Regular Price: $8.00
Special Price $3.00
-
CYB/130 Week 2 Python LAB 3.14: Simple statistics
Regular Price: $8.00
Special Price $3.00
-
CYB/130 Week 2 Python LAB 3.25: Smallest number
Regular Price: $8.00
Special Price $3.00
You have no items in your shopping cart.