Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
An Emergency Broadcast
TTTTTTTTTTTTTT RRRRRRRRRRRR ZZZZZZZZZ
TTT RRR RRR Z
TTT RRR RRRRRRR Z
TTT RRR RRRRRRR Z
TTT RRR RR Z
TTT RRR RR Z
TTT RRR RR Z
TTT RRR RR Z
TTT RRR RR ZZZZZZZZZ
Enter the number of quarters: 5
Enter the number of dimes: 4
Enter the number of nickels: 3
Enter the number of pennies: 2
This is equivalent to: $1.82
Enter the number of seconds: 234
Total time: 0 Hours, 3 Minutes and 54 Seconds
Enter the number of hours: 3
Enter the number of minutes: 2
Enter the number of seconds: 83
Total Seconds: 11003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment