What is a loop?Name one entry controlled loop.
Answers
Answered by
15
Loops are used in programming to repeat a specific block until some condition is met.
Following are the most familiar loops:
1. For loop
2. While loop
3.Do-while loop
Now,
Entry controlled loops will check the condition first and doesn't execute if it is false.
Ex: For loop.
Hope this helps!
Following are the most familiar loops:
1. For loop
2. While loop
3.Do-while loop
Now,
Entry controlled loops will check the condition first and doesn't execute if it is false.
Ex: For loop.
Hope this helps!
siddhartharao77:
If possible brainliest it.Thanks
Answered by
9
Loop's :-
Loop is a technique through which we can perform those type of task which is continuously repeated for some number of times. To perform this type of repeatative task, we need a loop.
Loop are of three types :-
1. For Loop :
The For loop is a entry control loop which is used for fixed number iteration. In a For loop It is written with the help of three basic statements
a) The initial value of the loop
b) The test condition of the loop
c) The updation of the loop
2. While Loop :
While loop is another type of looping statement which is used for unfixed number of iteration. It is also known as “Conditional Looping Statement”.
3. Do While loop :
A Do while loop is a type of loop which is an exit control loop. It will execute atleast once even though the loop is false.
Hope it solves your query!
Loop is a technique through which we can perform those type of task which is continuously repeated for some number of times. To perform this type of repeatative task, we need a loop.
Loop are of three types :-
1. For Loop :
The For loop is a entry control loop which is used for fixed number iteration. In a For loop It is written with the help of three basic statements
a) The initial value of the loop
b) The test condition of the loop
c) The updation of the loop
2. While Loop :
While loop is another type of looping statement which is used for unfixed number of iteration. It is also known as “Conditional Looping Statement”.
3. Do While loop :
A Do while loop is a type of loop which is an exit control loop. It will execute atleast once even though the loop is false.
Hope it solves your query!
Similar questions