|
|
вернуться в форумwhy this is not accepted? where is the problem #include<stdio.h> int main(void) { int a,b,sum; printf("a:"); scanf("%d",a); printf("b:"); scanf("%d",&b); sum=a+b; printf("Sum=%d",sum); return 0; } Edited by author 03.12.2015 01:58 Re: why this is not accepted? Re: why this is not accepted? And. Did you run it locally? Try please. You should have crash here: scanf("%d",a); Re: why this is not accepted? scanf("%d",a); scanf("%d",&a); |
|
|