difference between if and while statements
Nov 17, 2009 at 10:53am
Can somebody tell me the basic difference btween if and while statements????????????
Nov 17, 2009 at 11:52am
an if statement will execute once if the condition is true.
a while statement will execute while the condition is true ... so it will keep looping until the condition is false
http://cplusplus.com/doc/tutorial/control/
Last edited on Nov 17, 2009 at 11:53am
Nov 18, 2009 at 10:56am
thanx 4 replying bro
Topic archived. No new replies allowed.