Index » Programming » C/C++ » help pls in turbo c john 10 Jul 08, 4:57PMParent Posthelp pls in turbo cso use a while loop, as in ... while(1) { scanf("%d",&n1); sum+=n1; if(n1==0) break; } .... I hope this isn't home work.