about | help | code help+videos | done | prefs |
L16_nearHundred
APCS Logic 1, Problem 6. Given an int n, return true if it is within 10 of 100 or 200. Note: Math.abs(num) computes the absolute value of a number. L16_nearHundred(93) → true L16_nearHundred(90) → true L16_nearHundred(89) → 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: 100 Post-solution available
Copyright Nick Parlante 2017 - privacy