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

 

answerEmail


Your cell phone shows that you have email. Return true if you should respond to it. Normally you respond, except when you are in class you only answer if it is your mom emailing. In all cases, if you are asleep, you do not respond.


answerEmail(true, false, false) → false
answerEmail(true, true, false) → false
answerEmail(false, false, false) → true

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

public boolean answerEmail(boolean inClass, boolean isAsleep, boolean isMom ) { }

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

Copyright Nick Parlante 2017 - privacy