Computer Science, asked by abelacsah08, 4 months ago

what is used iterate a block of codes as long as the conditions is true​

Answers

Answered by devika2271
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 jyotsnarani115
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