answersLogoWhite

0

It depends on the programming language, however most high-level languages will provide some variant of the standard 'for' loop in addition to some variant of the 'while' and 'do-while' loop.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

What is difference between control statements and looping statements in c language?

differance between control statement and looping statement?


What is looping statement?

What is looping statement?


Is while-wend a looping statement?

Yes.


What is a while loop known as?

A Looping Structure


What are the three looping statement in turbo C?

for,while,do while


What is looping statement in turbo c?

while, for, do-while (and perhaps goto)


How do you use a C-continue statement in a block- without any looping or conditional statements?

In the C language, the continue statement can only be used within a loop (for, while, or do). Upon execution, control transfers to the beginning of the loop.


What are iterative statements?

An iterative statement is a looping statement, such as a 'for', 'while', or 'do-while' statement. They cause statements to be repeated (iterated) multiple times.


Why is the FOR structure used for looping?

The FOR structure is used for looping to define the variable, define the conditions and then explination of what will be done to the variable. It is used for arrays to help run a code a set number of times.


Three most common types of sentences errors?

there are three common error of looping structure. 1. initializing of loop control variable 2.error of condition 3.control of exit loop


Why FOR loop structure used for looping?

The FOR structure is used for looping to define the variable, define the conditions and then explination of what will be done to the variable. It is used for arrays to help run a code a set number of times.


What is foreach statement give example?

The foreach statement is a control structure in programming that allows you to iterate over elements in a collection, such as arrays or lists, without needing to manage an index variable. It simplifies the syntax for looping through elements. For example, in PHP: $fruits = ["apple", "banana", "cherry"]; foreach ($fruits as $fruit) { echo $fruit . " "; } This code outputs each fruit in the array.