Given an int n, return the absolute difference between n and 21, except return double the absolute difference if n is over 21.
Go...Save, Compile, Run (ctrl-enter)Show Solution
Editor font size %:75100125150Shorter output
Progress graphs: Your progress graph for this problem Random user progress graph for this problem Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy