Sunday, April 24, 2016

UVA 11172: Relational Operator -Solution

Unknown
#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;
}

Unknown

Studying at Shahjalal University of Science and Technology, Sylhet.

0 comments:

Post a Comment

Coprights @ 2016,