怎么解决呢
#include <stdio.h>
int main()
{
int x,y;
x = 10;
y = -3;
int a,b,c,d,e;
a=x+y;
b=x-y;
c=x*y;
d=x/y;
e=xy;
printf("x+y=%d\n",a);
printf("x-y=%d\n",b );
printf("x*y=%d\n",c);
printf("x/y=%d\n",d);
printf("x%y=%d\n",e);
return 0;
}
#include <stdio.h>
int main()
{
int x,y;
x = 10;
y = -3;
int a,b,c,d,e;
a=x+y;
b=x-y;
c=x*y;
d=x/y;
e=xy;
printf("x+y=%d\n",a);
printf("x-y=%d\n",b );
printf("x*y=%d\n",c);
printf("x/y=%d\n",d);
printf("x%y=%d\n",e);
return 0;
}
2017-09-28
举报