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;}
UVA-11172–(Relational Operator) Link
No comments:
Post a Comment