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

 

jebbert@volusia.k12.fl.us > getIcecreamUCF
prev  |  next  |  chance

Write a method that returns 'true' (meaning that you get ice cream) if you washed your car or you did the dishes, or you did both, except if you are in trouble, in which case you return 'false' (meaning that you do not get ice cream).


getIcecreamUCF(true, false, true) → false
getIcecreamUCF(true, true, false) → false
getIcecreamUCF(true, true, true) → false

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

public boolean getIcecreamUCF(boolean inTrouble, boolean washedCar, boolean didDishes) { }

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