about | help | code help+videos | done | prefs |
VoiceMail07. You're expecting a late night phone call from Hong Kong between 2-4am. You sleep from 8pm-2am, wake up for 2 hours, then go back to sleep from 4am-6am. Your phone is set on Voicemail during the hours you're sleeping. The "hour" parameter is the current hour time in the range 0-23. Add 12 to convert any PM hour to the 24-hour clock. Return true if your phone will go to Voicemail. VoiceMail07(0) → true VoiceMail07(1) → true VoiceMail07(2) → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 7
Copyright Nick Parlante 2017 - privacy