Loop Statement is a statement that we use it if we want our code to process repeated several times.
There are three forms for loop, while loop and do while loop as follows:
For Loop Statement
for (var=startvalue;var<=endvalue;var=var+increment){code to be executed}example
while loop Statement
while(var<=endvalue){code to be execute}example
Do while loop Statement





0 comments:
Post a Comment