update
This commit is contained in:
parent
b59c0ba7ab
commit
21399519ab
BIN
Code/output/test
BIN
Code/output/test
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -5,15 +5,16 @@ int main()
|
||||
int x = 0,y = 0;
|
||||
while(1)
|
||||
{
|
||||
printf("请输入两个整数:\n");
|
||||
scanf("%d %d", &x , &y);
|
||||
|
||||
if(x > y)
|
||||
printf("%d\n", x);
|
||||
printf("%d更大\n", x);
|
||||
else if(x < y)
|
||||
printf("%d\n", y);
|
||||
printf("%d更大\n", y);
|
||||
else
|
||||
{
|
||||
printf("x = y\nexit\n");
|
||||
printf("%d = %d\nexit\n",x,y);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user