Computer Science, asked by lalitarasaily01, 4 months ago

what is looping structure?​

Answers

Answered by Anonymous
3

 \huge{ \red{ \underline{Answer}}}

In computer science, a loop is a programming structure that repeats a sequence of instructions until a specific condition is met. Programmers use loops to cycle through values, add sums of numbers, repeat functions, and many other things. Two of the most common types of loops are the while loop and the for loop. ...

Answered by HA7SH
9

Explanation:

\huge\mathtt\blue{\underline{\underline{\dag AnSwEr \dag}}}

\large\mathtt\green{\underline{\underline{\dag SoLuTiOn \dag}}}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

\bold{>>} In computer science, a loop is a programming structure that repeats a sequence of instructions until a specific condition is met. Programmers use loops to cycle through values, add sums of numbers, repeat functions, and many other things.

Loops are supported by all modern programming languages, though their implementations and syntax may differ. Two of the most common types of loops are the while loop and the for loop.

\large\mathtt\red{\underline{\underline{\dag Additional\ Information \dag}}}

\bold{>>} Types of Loops

A for loop is a loop that runs for a preset number of times.

A while loop is a loop that is repeated as long as an expression is true. An expression is a statement that has a value.

A do while loop or repeat until loop repeats until an expression becomes false.

An infinite or endless loop is a loop that repeats indefinitely because it has no terminating condition, the exit condition is never met or the loop is instructed to start over from the beginning. Although it is possible for a programmer to intentionally use an infinite loop, they are often mistakes made by new programmers.

A nested loop appears inside any other for, while or do while loop.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

\large\mathtt\purple{\underline{\underline{\dag That's\ Solve \dag}}}

\large\mathtt\orange{\underline{\underline{\dag Hope\ It\ Helps\ You \dag}}}

Similar questions