|
|
back to boardwhere the wrong is? 1000 my source is : #include<iostream.h> void main() {int a,b; cin>>a>>b; cout<<a+b<<endl;} Re: where the wrong is? 1000 > {int a,b; AFAIK these should be longs. Re: where the wrong is? 1000 On some systems you should also write "int main {... return(0);}" to get no Runtime Error when the program finishes running. In some tasks, e.g 1022, you should output NO eoln at the end of output. |
|
|