某年某月某日1
2016-04-28 01:26
#include <stdio.h>
int main()
{
int x,y;
x = 10;
y = -3;
printf("x+y=%d\n", 7 );
printf("x-y=%d\n", 13 );
printf("x*y=%d\n", -30 );
printf("x/y=%d\n", -3 );
printf("x%y=%d\n", 1);
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;
}
没办法,系统只判断输出结果,只要执行结果是一样的就能过
C语言入门
926207 学习 · 20797 问题
相似问题