0_0_27120660_26452.cpp: In function 'int main()':
0_0_27120660_26452.cpp:3:7: error: variable or field 'n' declared void
{void n,m,i,sum;
^
0_0_27120660_26452.cpp:3:9: error: variable or field 'm' declared void
{void n,m,i,sum;
^
0_0_27120660_26452.cpp:3:11: error: variable or field 'i' declared void
{void n,m,i,sum;
^
0_0_27120660_26452.cpp:3:13: error: variable or field 'sum' declared void
{void n,m,i,sum;
^
0_0_27120660_26452.cpp:4:20: error: 'n' was not declared in this scope
while((scanf("%d",&n)!=EOF)&&(n!=0))
^
0_0_27120660_26452.cpp:5:2: error: 'sum' was not declared in this scope
{sum=0;
^
0_0_27120660_26452.cpp:6:1: error: 'i' was not declared in this scope
i=1;
^
0_0_27120660_26452.cpp:8:14: error: 'm' was not declared in this scope
{scanf("%d",&m);
^
|