about | help | code help+videos | done | prefs |
A fruit stand sells limes, lemons, bananas and apples. The method fruitType() takes two boolean parameters, citrus and yellow and returns the type of fruit it is. For example, if citrus and yellow are both true, the fruit type would be lemon. fruitType(true, true) → "lemon" fruitType(true, false) → "lime" fruitType(false, true) → "banana" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100 Post-solution available
Copyright Nick Parlante 2017 - privacy