about | help | code help+videos | done | prefs |
Write a method that accepts three integer input parameters. The input parameters represent two numbers, and someone attempting to either add or multiply those two numbers. Return "big brain!" if the sum OR product of the two numbers comes out to the answer 'ans'. Otherwise return "wrong". Look at the test data for examples. mar5_2020_APP1SLHL_gotIt(4, 5, 9) → "big brain!" mar5_2020_APP1SLHL_gotIt(3, 7, 21) → "big brain!" mar5_2020_APP1SLHL_gotIt(8, 2, 10) → "big brain!" ...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: 290
Copyright Nick Parlante 2017 - privacy