1、
#include <stdio.h>
int main(void)
{
int i,j;
puts("please input two integers: ");
printf("i: "); scanf("%d",&i);
printf("j: "); scanf("%d",&j);
if (i != j)
{
if (i > j)
printf("larger: %d\n",i);
else
printf("larger: %d\n",j);
}
else
{
puts("the two integer you inputed is equal!!!\a\n");
}
return 0;
}
原文:https://www.cnblogs.com/liujiaxin2018/p/14197933.html