0_0_28175163_22214.cpp: In function 'int main()':
0_0_28175163_22214.cpp:11:13: error: 'i' was not declared in this scope
for(i=1;i<=n;i++)
^
0_0_28175163_22214.cpp:13:13: error: 'sum' was not declared in this scope
sum+=2*i;
^
0_0_28175163_22214.cpp:16:17: error: 'a' was not declared in this scope
a[j]=sum;
^
0_0_28175163_22214.cpp:21:9: error: 'k' was not declared in this scope
k=n%m;
^
0_0_28175163_22214.cpp:22:13: error: 'i' was not declared in this scope
for(i=0;i<j-1;i++)
^
0_0_28175163_22214.cpp:23:22: error: 'a' was not declared in this scope
printf("%d ",a[i]/m);
^
0_0_28175163_22214.cpp:25:23: error: 'a' was not declared in this scope
printf("%d\n",a[j-1]/k);
^
0_0_28175163_22214.cpp:27:23: error: 'a' was not declared in this scope
printf("%d\n",a[j-1]/m);
^
|