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

scottm@cs.utexas.edu cs305j-set4 > answerCell
prev  |  next  |  chance

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.

answerCell(false, false, false) → true
answerCell(false, false, true) → false
answerCell(true, false, false) → false

...Save, Compile, Run


Show output only (no red/green)

prev  |  next  |  chance   |  CodingBat  >  scottm@cs.utexas.edu cs305j-set4

Forget It! -- delete my code for this problem

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

Code Help and Videos

Misc Code Practice

130.0 Post-solution available

Copyright Nick Parlante 2006-11 - privacy