0_0_34713410_22622.cpp: In function 'int main()':
0_0_34713410_22622.cpp:6:5: error: expected initializer before 'double'
double psum,sum;
^
0_0_34713410_22622.cpp:7:28: error: 'n' was not declared in this scope
while(scanf("%d%d",&m,&n)!=EOF)
^
0_0_34713410_22622.cpp:8:9: error: 'psum' was not declared in this scope
psum=0;sum=0;
^
0_0_34713410_22622.cpp:8:16: error: 'sum' was not declared in this scope
psum=0;sum=0;
^
0_0_34713410_22622.cpp:10:18: error: 'n' was not declared in this scope
for(m;m<=n;m++){
^
0_0_34713410_22622.cpp:11:24: error: 'psum' was not declared in this scope
if(m%2==0) psum+=pow(m,2);
^
0_0_34713410_22622.cpp:15:24: error: 'psum' was not declared in this scope
printf("%.0f %.0f",psum,sum);
^
|