慕粉1507478892
2016-12-15 19:57
#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;
}
中间运算的代码不用输
太乱,看不清!
C语言入门
926210 学习 · 20797 问题
相似问题