he for command provides iterative looping similar to the C and C++ for statement. It enables you to do the following:Evaluate an expression before the first iteration of the command ("initialization").Specify an expression to determine whether the command should be performed again ("controlling part").Evaluate an expression after each iteration of the command.Perform the command, or block, if the controlling part does not evaluate to false.