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

 

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

Return 'true' if it is a good day to go to the beach, otherwise return 'false'. It is a good day to go to the beach if it is sunny out, warm, and you have the day off. Each of the boolean parameters is named appropriately, so, for example, if sunny is true that means it is sunny out. I have provided some duplicate test data so you will not be able to see all of my REAL test data.


sep7_2016_quizBeachDay_AP(false, false, false) → false
sep7_2016_quizBeachDay_AP(false, true, true) → false
sep7_2016_quizBeachDay_AP(true, true, false) → false

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

public boolean sep7_2016_quizBeachDay_AP(boolean sunny, boolean warm, boolean dayOff) { }

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

Copyright Nick Parlante 2017 - privacy