about | help | code help+videos | done | prefs |
APCS Logic 5, Problem 10. Given three ints, a b c, one of them is small, one is medium and one is large. Return true if the three values are evenly spaced, so the difference between small and medium is the same as the difference between medium and large. L510_evenlySpaced(2, 4, 6) → true L510_evenlySpaced(4, 6, 2) → true L510_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
Difficulty: 200
Copyright Nick Parlante 2017 - privacy