0_0_19042793_29740.cpp: In function 'int main()':
0_0_19042793_29740.cpp:8:3: error: 'max' was not declared in this scope
max=0;
^
0_0_19042793_29740.cpp:9:3: error: 'sum' was not declared in this scope
sum=0
^
0_0_19042793_29740.cpp:10:29: error: expected ';' before ')' token
for(scanf("%d",&n);n!=0;n--)
^
|