about | help | code help+videos | done | prefs |
fund_footballWinner
Given integers of how many touchdowns and field goals that team A got and integers of how many touchdowns and field goals that team B got, return which team won the game and has more total points by returning "A", "B", or "TIE". A touchdown is worth 6 points and a field goal is worth 3 points. fund_footballWinner(1, 1, 1, 1) → "TIE" fund_footballWinner(1, 1, 0, 0) → "A" fund_footballWinner(0, 0, 1, 1) → "B" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy