Computer Science, asked by tharigha736, 8 months ago

________________ loop is used when you know how many times to repeat a block of statements. ​

Answers

Answered by anushkashrivastava91
4

Answer:

A "While" Loop is used to repeat a specific block of code an unknown number of times, until a condition is met.

Answered by alisays
2
For loop is used for it like if I write loop in c++
Example
for(int i=0; i<10; i++)
{ // for some code execution )
Here int i=0 is for initialisation of an integer variable because this is from where loop starts
i<10 is condition till where it goes through while executing block statements
i++ is an incremental which means i=i+1
Thanks
Similar questions