about | help | code help+videos | done | prefs |
Three brother are very competitive and have a small wager on who is the best golfer this month. They have recorded their scores for the month in separate array lists. Return the name of the brother who has the lowest average for the month. If a brother has less than two scores, he does not have enough scores to qualify as the best golfer. At least one of the brothers will have enough scores to qualify. golfingBrothers([70, 75, 80], [80, 82, 85], [90, 91, 92]) → "adam" golfingBrothers([100, 75], [80, 82, 85, 86], [90, 91, 92]) → "bob" golfingBrothers([70], [80, 82], [90, 91, 92]) → "bob" ...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 Post-solution available
Copyright Nick Parlante 2017 - privacy