about | help | code help+videos | done | prefs |
farEnough
Given three ints, a b c, return true if the distance between a and b is at least c. Note: Math.abs(num) computes the absolute value of a number. farEnough(1, 2, 10) → false farEnough(1, 4, 2) → true farEnough(5, -3, 6) → 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: 10
Copyright Nick Parlante 2017 - privacy