Home Discussion Discuss: Iteration

  • CorrectionSunny Omabegho October 22, 2012 at 5:37 PM

    n the above example, we have initialized the for loop by assigning the '0' value to i. The test expression, i < 100, indicates that the loop should continue as long as i is less than 100. Finally, the increment statement increments the value of i by one. The statement following the for loop will be executed as long as the test expression is true as follows: Above is the original statement made by you , please correct to <10 and not <100. Thanks..

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
Related Articles