问答详情
源自:3-2 算术运算符

那里错了??

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;     }那里错了?

提问者:qq_黑白神_03711479 2016-07-24 16:29

个回答

  • 越飞越高
    2016-11-12 01:59:36

    include前面缺了#,include后面缺少<stdio.h>

    http://img.mukewang.com/582607040001b72e09690571.jpg

  • 空山有雪相待3829189
    2016-08-15 00:55:53

    直接填结果就行了

  • 火车老大
    2016-08-01 13:37:34

    你大写了

  • 歪歪TnT
    2016-07-24 16:59:02

    #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;

        }