Sunday, April 24, 2016

Published April 24, 2016 by with 0 comment

UVA 11172: Relational Operator -Solution

#include <stdio.h>
int main ()
{
    int t,a,b;
    scanf("%d",&t);
    while (t--)
    {
        scanf("%d%d",&a,&b);
        if (a>b) printf(">\n");
        else if (a<b) printf("<\n");
        else  printf("=\n");
    }
    return 0;
}
      edit

0 comments:

Post a Comment