Advertisement
noshin98

uva12952

Jun 24th, 2016
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int a,b;
  5.     while(scanf("%d%d",&a,&b)==2)
  6.     {
  7.         if(a>b)
  8.         {
  9.             printf("%d\n",a);
  10.         }
  11.         else
  12.         {
  13.             printf("%d\n",b);
  14.         }
  15.     }
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement