Code:int main() { int i,sum; do { printf("%d\n",sum); sum+=i*i; } while(i>3); { i=43; i-=3; if(i==23) break; } return(0); } error break statement not within loop or switch could someone tell me what is the problem,plesase?
Code:int main() { int i,sum; do { printf("%d\n",sum); sum+=i*i; } while(i>3); { i=43; i-=3; if(i==23) break; } return(0); } error break statement not within loop or switch could someone tell me what is the problem,plesase?