|
|
back to boardCommon Boardwhat's wrong with this...? problem set 1000 I don't know what's the matter,i learn c and it could run in vc6.0,why is it wrong ? #include<stdio.h> void main() {int a,b; scanf("%d%d",&a,&b); printf("a+b=%d",a+b); } Re: what's wrong with this...? Your program outputs a+b=6 instead of just 6 Re: what's wrong with this...? thank you,I don't think it will matter at first,now I know it's so important. |
|
|