View Single Post
Old May 2nd, 2008, 3:40 AM   #3
JONY SMITH
Newbie
 
Join Date: May 2008
Posts: 2
Rep Power: 0 JONY SMITH is on a distinguished road
Re: find out the average of odd numbers -do-while statement.

Quote:
Originally Posted by Freaky Chris View Post
Looks like it would give the correct results, without testing i will say that you may have to change < to <= and possible change the point at which you increment X.

P.S Use [code] tags

Chris
yes it will give you right answer possibly. Try with <= and note out different hope one will be the right answer.
__________________
Mr.Smith
Offshore Software Development
JONY SMITH is offline   Reply With Quote