about | help | code help+videos | done | prefs |
logic_evenlySpaced
Given three integers, a b c, return true if the three values are evenly spaced. This means that the difference between the smallest and the medium is the same as between the medium and the largest. logic_evenlySpaced(2, 4, 6) → True logic_evenlySpaced(2, 6, 4) → True logic_evenlySpaced(4, 6, 3) → False ...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