Assignment 3 - Floor Division and Modulus Problems
Assignment 3 - Floor Division and Modulus Problems
Big Idea 1 – Students will develop and use computational thinking skills
SI 1.1 Break down large, complex problems into smaller, manageable tasks.
Big Idea 2 - Students will develop coding skills
SI 2.1 Create organized plans to solve problems
For this activity, you are required to create TWO of the following application. Design the
pseudocode for your program before you begin.
Instructions:
Kilometers: 1
Meters: 503
Centimeters: 45
Instructions:
Hours: 1
Minutes: 1
Seconds: 15
Option 3: Coin Counter
You are tasked with writing a Python program that makes change in coins needed for the user. The
program will take an amount in cents as input and calculate how many quarters, dimes, nickels,
and pennies are needed to make up that amount. This program simulates how a cashier might
calculate change for a customer but limits the output to the fewest coins possible for each
denomination.
Instructions:
• Design the pseudocode for your program.
• The program will prompt the user to input an amount in cents (a positive integer).
• The program will calculate the number of quarters (25 cents), dimes (10 cents), nickels (5
cents), and pennies (1 cent) needed to make that amount.
• Output the result to the user in a clear format.
Submission Instructions:
Make sure to test your program with at least five different inputs, including edge cases like 0 and 1
cent.
Submit your Python code file (.py).
Extension activities
How can you format it so that its currency is correctly outputted? $0.00
Consider what components could be added to your application to improve the user experience and
flow.