URI 1013 is another beginner level problem, which is solved by me, and sharing it because it might be hard to understand the problem to some beginner.

URI 1013 problem link

Solution :

We are going to make a program that reads 3 integer values and present the greatest one followed by the message "eh o maior". Use the following formula:

Maior AB = ( a + b + abs ( a - b )) / 2


The input file contains 3 integer values.

Sample input

17 148 67


Print the greatest of these three values followed by a space and the message “eh o maior”.

Sample output

148 eh o maior

Hope this will help you, and let me know if you have any better solution <3