You are given an integer x and two integer bounds low and high, with low <= high.
Return x confined to the closed range [low, high]:
low if x is less than low,high if x is greater than high,x unchanged.NOTE: This is a function-type question — you only write the function. Do not read input or print anything; a hidden checker calls your function and checks its return value.
Arguments
5
0
10
Returns
5