Problem

Return n capped between 0 and 100.

Examples

  • clamp0_100(150) -> 100
  • clamp0_100(-5) -> 0
  • clamp0_100(50) -> 50
Compile and test (Ctrl+Enter)