Practice ยท 1 of 5
Club eligibility gate
Implement String eligibility(int age, boolean member): return "welcome" when age is 18+ AND member; "join us" when age is 18+ but not a member; "come back later" otherwise (under 18).
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Practice: Decisions