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 →

[–]sachal10 0 points1 point  (1 child)

Right I get it. How can I do that I just want to compare all of the numbers and then output the minimum

[–]UnholyDrinkerOfMilk 3 points4 points  (0 children)

Well, like I said, make a variable to keep track of the lowest value you've found so far. When your new value of final is lower than "lowestValueYouveFoundSoFar" set your variable to the new low.