about | help | code help+videos | done | prefs |
Write a function sumprod(a,b) that takes 2 integer values as parameters and returns their sum if they are not equal and their product if they are. sumprod(3, 3) → 9 sumprod(2, 5) → 7 sumprod(0, 2) → 2 ...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