Hi, I have set-up a while loop to iterate an amount specified by the user. However, is it possible to compare two numbers entered by a user inside the loop and then have the larger number replace the smaller? I am having trouble because I have the first result being stored as "num" but when the loop re-iterates how can I compare these inputs if they have the same name? Like, " if (num > num) "...that won't work.
Thanks in advance.