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

 

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

VoiceMail06. There's a really good late night movie marathon showing (from: 9pm-5am), even though it's a school night. You set your phone to go to Voicemail because anybody calling you this late has no life. 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.


VoiceMail06(0) → true
VoiceMail06(1) → true
VoiceMail06(2) → true

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

boolean VoiceMail06(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: 6

Copyright Nick Parlante 2017 - privacy