about | help | code help+videos | done | prefs |
Given two integers, a and b, return "close" if they are the same value or differ by 1. Return "far" if their values differ by more than 1. logic_closeOrFar2(1, 1) → "close" logic_closeOrFar2(1, 2) → "close" logic_closeOrFar2(1, 3) → "far" ...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