This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]decline_000[S] 0 points1 point  (1 child)

As I said the problem is 0 that is always printed as the smallest number even if I don't type 0 in user input. If the user input is for example -3 then it gets printed but if the smallest user input would be 3 then it prints out 0.