How do I determine the highest and lowest value in user-entered input?

后端 未结 4 1954
我寻月下人不归
我寻月下人不归 2020-12-11 14:43

I\'m trying to get the highest and lowest numbers entered by the user. The code below seems to be mostly working but I can\'t seem to get the right number for the lowest val

4条回答
  •  余生分开走
    2020-12-11 14:49

    you are on the right track for capturing highest. you need to apply similar logic for lowest.

提交回复
热议问题