June 22, 2002 Re: Help!!!!!?? | ||||
---|---|---|---|---|
| ||||
"Andrew Edwards" <crxace13@comcast.net> wrote in message news:aeto9j$2n0$1@digitaldaemon.com... > Can someone help me with this please????????? > > for(i=0; i<total; i++) { > if(survey[i].income > average) { > cout << setw(18) << survey[i].id > << setw(20) << survey[i].income << '\n'; > } > sum += survey[i].income; > } > > I have the above function in a program and am not sure why it works or does > not work!? > > if I take out the assignment statement: > sum += survey[i].income; > it does not work! > WHY NOT???????????? > > but if I leave it in I will work! > WHY ???????????????? > Why do you use so many question marks? WHY??????????????????????? -- Stijn OddesE_XYZ@hotmail.com http://OddesE.cjb.net _________________________________________________ Remove _XYZ from my address when replying by mail |
Copyright © 1999-2021 by the D Language Foundation