#inciude <stdio.h>
int main()
{
int x,y;
x = 10;
y = -3;
x + y = 7;
x - y = 13;
x * y = -30;
x / y = -3;
x % y = 1;
printf("x+y=7%d\n", x+y);
printf("x-y=13%d\n", x-y);
printf("x*y=-30%d\n", x*y );
printf("x/y=-3%d\n",x?y );
printf("x%y=1%d\n", x%y);
return 0;
}
中间运算的代码不用输
太乱,看不清!