what is used iterate a block of codes as long as the conditions is true
Answers
Answered by
3
Answer:
The for loop repeats a block of code as long as a certain condition is met. It is typically used to execute a block of code for certain number of times. ... If it evaluates to true , the loop continues and the nested statements are executed. If it evaluates to false , the execution of the loop ends.
Answered by
1
Answer:
Loops in PHP are used to execute the same block of code a specified number of times. PHP supports following four loop types. for − loops through a block of code a specified number of times. while − loops through a block of code if and as long as a specified condition is true.
Thank you
Mark me as brainleast..
Similar questions