In what concerns the continuous evaluation solving exercises grade during the semester, you should submit until 23:59 of October 26th
(this exercise will still be available for submission after that deadline, but without couting towards your grade)
[to understand the context of this problem, you should read the class #03 exercise sheet]
When comparing numbers, sometimes you just want to know which one is the biggest. Given three numbers, can you determine which one is the greatest of them all?
Write a program that, given three integers a, b, and c identifies and prints the largest of the three values.
The input consists of three lines:
The output should be a single line displaying the value of the largest integer.
The following limits are guaranteed in all the test cases that will be given to your program:
-1000 ≤ a, b, c ≤ 1000 | Numbers a, b, and c |
Example Input 1 | Example Output 1 |
1 4 9 |
9 |
Example Input 2 | Example Output 2 |
5 5 5 |
5 |
Example Input 3 | Example Output 3 |
-90 20 400 |
400 |