about | help | code help+videos | done | prefs |
Given three numbers a, b, and c, return true if the distance between any two of the numbers is the same, in absolute terms. Precondition: a, b, and c will all be different numbers. HINTMake sure you account for all the possibilities. apcsaPrimitivesSameDistance(5, 6, 7) → true apcsaPrimitivesSameDistance(5, 6, 8) → false apcsaPrimitivesSameDistance(2, 1, 3) → true ...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: 100
Copyright Nick Parlante 2017 - privacy