题解 | #字母大小写转换#
判断两个数的大小关系
http://www.nowcoder.com/practice/f05358b9e8164b27871c87d3097f4dab
#include<stdio.h>
int main()
{
int a,b;
while(~scanf("%d%d",&a,&b))
{
getchar();
if(a==b)
printf("%d=%d\n",a,b);
else if(a<=b)
printf("%d<%d\n",a,b);
else
printf("%d>%d\n",a,b);
}
return 0;
}
int main()
{
int a,b;
while(~scanf("%d%d",&a,&b))
{
getchar();
if(a==b)
printf("%d=%d\n",a,b);
else if(a<=b)
printf("%d<%d\n",a,b);
else
printf("%d>%d\n",a,b);
}
return 0;
}