Today's problem will lead us on the path to creating a custom reminder system. The reminder system works with the two follow formats:
- in 10 (always in minutes)
- at 0900 (you're free to use whichever format for this input you want as long as you use "at" as the identifier)
When the reminder time hits you're your program should play a system sound/beep ("\a" should work for a few languages).
Comments:
Opetich - 10 years, 7 months ago
You are program? i'm no program!
reply permalink
Max Burstein - 10 years, 7 months ago
lol whoops. I fixed it
reply permalink
Opetich - 10 years, 7 months ago
:) Good job in getting problems everyday. even through i don't comment regulary it still is interesting thinking of them while on the bus.
reply permalink
D - 10 years, 7 months ago
This one's in Java 7. ReminderService.java:
And the main method in ReminderRunner.java:
Code reviews welcome!
reply permalink
keemz - 10 years, 7 months ago
run in command line like so: "python reminder.py at 1215" or "python reminder.py in 12"
reply permalink