一起来找茬
下面这段代码是让计算机计算321-123的结果。其中有7个错误,快来改正吧!
修改后:
#include <stdio.h>
#include <stdlib.h>
int main( )
{
int a, b, c;
a=321;
b=123;
c=a-b;
printf("%d", c);
system("pause");
return 0;
}
运行效果:
一起来找茬
下面这段代码是让计算机计算321-123的结果。其中有7个错误,快来改正吧!
修改后:
#include <stdio.h>
#include <stdlib.h>
int main( )
{
int a, b, c;
a=321;
b=123;
c=a-b;
printf("%d", c);
system("pause");
return 0;
}
运行效果: