Practice ยท 3 of 3
Guarded Values
Define macros LOW_CUT 10 and HIGH_CUT 90 and implement int band(int v) returning -1 if v < LOW_CUT, 1 if v > HIGH_CUT, else 0.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Organization Practice