Tuesday, 18 June 2013

Week 15 Day 1

A "for" loop combines the three steps into one statement. The three steps are initializing, testing, and incrememting. A statement consists of the keyword 'for' followed by a pair of parenthesis within the parenthesis are three statements separated by a colon for example
for(initialization; test; action)
{
......
}

No comments:

Post a Comment