I want to add the series numbers except square numbers
For example,if n = 10, Add : 1+2+3+5+6+7+8+10 = 42(except 4 and 9)
but I got problem to except the square number by using continue statement.
Please help me.
using namespace std;
cout<<"enter number to add"<<endl;