0_0_25523279_28559.cpp: In function 'int main()':
0_0_25523279_28559.cpp:9:3: error: 'sum' was not declared in this scope
sum=0;
^
0_0_25523279_28559.cpp:10:7: error: 'i' was not declared in this scope
for(i=1;i*i<=n;i++)
^
0_0_25523279_28559.cpp:21:1: error: expected ';' before '}' token
}
^
|