about | help | code help+videos | done | prefs |
Given two integer dice rolls "die1" and "die2", return their sum, except if they have the same value, return double their sum! logic_diceRoll(2, 4) → 6 logic_diceRoll(3, 3) → 12 logic_diceRoll(5, 6) → 11 ...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