uva - 11172 - Relational Operator 解题报告
原题链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2113
题目大意:比较大小,水题。
1 #include<stdio.h> 2 int main(){ 3 long int a,b; 4 int n; 5 scanf("%d",&n); 6 while(n--){ 7 scanf("%ld%ld",&a,&b); 8 if(a>b)printf(">\n"); 9 else if(a<b) printf("<\n"); 10 else printf("=\n");} 11 }