+ 4
What is your programing language
+ 1
for (
/* initialization */;
/* condition */;
/* end of each iteration */
) {
// body (iterations)
}
0
initialization part is executed once at loop start
condition is checked at each iteration start to determine if the loop continue or else exit
end of each iteration is usually where you increment a counter
0
Harsh Kishore to mention..
Just type `@` ,after that list of recent users will apear ,you can mention any just clicking on name.
Hope u got it
- 1
Use a while loop insted, set variable i before the loop, then use while i is less or equal to five and then pit echos inside
A
Let i = 0
Let text = hi
While(i ‹= 5){
ducument. write(i + text + "‹br›")
}