uva 11172 – Relational Operator

#include<stdio.h>
int main()
{
    int i,t,a,b;
    scanf("%d",&t);
    for(i=0;i<t;i++){
scanf("%d %d",&a,&b);
if(a<b)
    printf("<\n");
else if(a>b)
    printf(">\n");
else
    printf("=\n");
    }
    return 0;
}
It would be a great help, if you support by sharing :)
Author: zakilive

Leave a Reply

Your email address will not be published. Required fields are marked *