366 - Find the Max
Find the Max
Time Limit: 1 sec
The Problem
Two numbers will be given. Your task is to find the max value between them.
Example:
1 2
The max value is 2
The Input
The input file contains several lines. Each line contains two integers x and y (0<= x, y <=100). Input is terminated by a line containing two zeroes.
The Output
For each line of input output will print the max value in a separate line.
Sample Input
1 2
10 20
0 0
Sample Output
2
20
Problem Setter: Samia Safa Ahmed