Show the max and min value

and i don't have an idea

You must have SOME idea. After all, it isn't rocket science to determine if this value is more than that value. If it is, that value isn't the max. This value is.

It isn't rocket science to determine if this value is less than that value. If it is, that value isn't the min. This one is.