Repair this code
The starter clamp.c fails to build on three separate diagnostics: clear all three so clamp returns v held inside the bounds lo and hi.
Steps
$ clamp(7, 0, 10)
7
$ clamp(42, 0, 10)
10
$ clamp(-5, 0, 10)
0
$ clamp(99, 10, 3)
10
Expected files
Allowed functions
None. Write every helper yourself.

Repair this code
The starter clamp.c fails to build on three separate diagnostics: clear all three so clamp returns v held inside the bounds lo and hi.
Steps
$ clamp(7, 0, 10)
7
$ clamp(42, 0, 10)
10
$ clamp(-5, 0, 10)
0
$ clamp(99, 10, 3)
10
Expected files
Allowed functions
None. Write every helper yourself.

Tests
Run the tests to grade your code