Operators and output

What is the difference between != and > operator when used in while loop , i recently used it in a contest ,the output was same before using those and after using those but the correct answer seemed to be the case in which both were being used(august challenge )

If this is from August Challenge, then after the contest is over, you can share the code and we can discuss.

here is a webpage about relational operators in c++