about | help | code help+videos | done | prefs |
The TV show "Chopped" pits chefs against each other in three rounds. The winning chef is the one who is not chopped in any of the rounds. Write a method that accepts three boolean values representing the three rounds. If an input parameter is 'true' it means the contestant was chopped during that round. This is a special version of the TV show where all contestants get to compete in all three rounds... but remember that the winner must avoid being chopped in all three rounds. Return 'true' if the chef wins. Return 'false' otherwise. foodWonChopped(true, false, false) → false foodWonChopped(false, false, false) → true foodWonChopped(true, false, true) → false ...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: 200
Copyright Nick Parlante 2017 - privacy