answersLogoWhite

0


Best Answer

In computer programming, a loop is a series of instructions given and carried out continuously until a condition is made or an error is found. Both of these possibilities come to the same result, termination of the loop unless the program is specified to run for an infinite amount of time.

EXAMPLE:

#include int main() { int i; for (i = 0; i < 10; i++) { printf ("Hello\n"); printf ("World\n"); } return 0; }

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is program loop?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you loop a program in python 3?

A program can be looped in Python by wrapping the entire program in a for or while loop. If you wish to loop the program a finite amount of times, it can be done like so (x = the amount of times you want it to loop, this can be a number or variable storing a number): for i in range(0,x): [code] If you wish to loop the program infinitely, you can use a simple while loop: while True: [code]


A program with a loop that never ends is called an?

Infinite loop.


What is odd loop in 'C' program?

odd loop means at least the loop execute once.


When is Iteration used in a Java program?

in a loop


How do you write a program with do while loop so that the output is 123456 equals 720?

How do you write a program with do while loop so that the output is 123456 =720


What loop should no execute if the test expression is false to begin with?

for loop and while loop need the expression to be true for further execution of the program.


What are the differences between iterations and loops in progamming?

A loop will loop for n iterations. Each times the program executes the code in the loop is an iteration.


When you input data in a loop within a program the input statement that proceeds the loop is what?

is called a priming input


What are the disadvantages of the While Loop?

With loops, your program is slower.


How do you loop a program in python?

An infinite loop might look something like: while 1==1: print("Infinite loop") as 1 is ALWAYS equal to 1.


Which company has its headquarters at One Infinite Loop?

Apple Computers in Cupertino, California. The name, of course, is a pun on the use of "loop" to describe a circular road and a part of a computer program that is repeated; an infinite loop is a loop that's executed endlessly due to an error in the program's logic such that an end condition never occurs.


What is computing in science?

Nesting is the process of organizing information in layers. For an example, a loop in a program can contain another loop which can contain yet another loop. This is called nested loops.