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

 

pais@kinetigram.com > L36_answerCell
prev  |  next  |  chance

APCS Logic 3, Problem 6. Your cell phone rings. Return true if you should answer it. Normally you answer, except in the morning you only answer if it is your mom calling. In all cases, if you are asleep, you do not answer.


L36_answerCell(false, false, false) → true
L36_answerCell(false, false, true) → false
L36_answerCell(true, false, false) → false

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

public boolean L36_answerCell(boolean isMorning, boolean isMom, boolean isAsleep) { }

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: 200

Copyright Nick Parlante 2017 - privacy