qq_黑白神_03711479
2016-07-24 16:29
include
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; }那里错了?include前面缺了#,include后面缺少<stdio.h>
直接填结果就行了
你大写了
#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;
}
C语言入门
926021 学习 · 20793 问题
相似问题