qq_为梦想而奋斗_1
2017-12-12 00:19
#include <stdio.h>
int main()
{
int x,y;
x = 10;
y = -3;
printf("x+y=%d\n",x+y );
printf("x-y=%d\n", x-y );
printf("x*y=%d\n", x*y );
printf("x/y=%d\n", x/y );
printf("x%y=%d\n", x%y );
return 0;
}
printf("x%%y=%d\n", x%y ); 加一个%
C语言入门
926209 学习 · 20797 问题
相似问题