为了账号安全,请及时绑定邮箱和手机立即绑定

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;

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;    

}


正在回答

2 回答

 printf("x%%y=%d\n",   x%y  );  

0 回复 有任何疑惑可以回复我~

笔记请记笔记区

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

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;

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信