UVA-11172–(Relational Operator) EASY
#include<stdio.h>
int main()
{
int n,a,b,i;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d%d",&a,&b);
if(a>b)
{
printf(">\n");
}
else if (b==a)
{
printf("=\n");
}
else
printf("<\n");
}
return 0;
}
This is my personal collection of daily lessons, professional insights, and programming experiences. It’s a space where I document what I learn, and you can explore and learn from my journey too.
No comments:
Post a Comment