I'm trying to make a ranking of 3 numbers and say which the greatest and consider whether there is a tie between them, I am not able to make the conditions of draws. Code in PT-BR: http://pastebin.com/18pYJjPC