Implement solve(value, min, max) that clamps value to the [min, max]
range — returning min if below it, max if above it, or value otherwise.
Examples
solve(5, 0, 10) → 5solve(-3, 0, 10) → 0solve(15, 0, 10) → 10solve(5, 5, 5) → 5Sample tests