code.org for loop code example
Example: code for loop
for (initializationStatement; testExpression; updateStatement)
{
// statements inside the body of loop
}
for (initializationStatement; testExpression; updateStatement)
{
// statements inside the body of loop
}