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

 

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

Write a method that returns "Jedi" if you are a Jedi, or "norm" if you are not. To be a Jedi, forceIsWithYou, training, and calm must all be true. Otherwise your are a "norm".


yodaJediTest(true, true, true) → "Jedi"
yodaJediTest(true, false, true) → "norm"
yodaJediTest(true, false, false) → "norm"

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

public String yodaJediTest(boolean forceIsWithYou, boolean training, boolean calm) { }

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

Copyright Nick Parlante 2017 - privacy