id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

srp4379@lausd.net voicemail > VoiceMail04
prev  |  next  |  chance

VoiceMail04. You're playing tennis in the morning (5-8am), basketball in the early afternoon (1-3pm), and running just before dinner (5-6pm). Your phone will go to Voicemail while you're exercising. 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.


VoiceMail04(0) → false
VoiceMail04(1) → false
VoiceMail04(2) → false

...Save, Compile, Run (ctrl-enter)

boolean VoiceMail04(int hour) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 4

Copyright Nick Parlante 2017 - privacy