A loop is a Programming Function that iterates a assertion or situation based totally on distinctive limitations.
The loop feature Makes use of nearly same common sense and Syntax in all Programming Languages. Thus, a selected announcement or a set of Commands is Constantly completed until a particular loop body or boundary situation is reached. The end result of the complete loop body’s first operation cycle serves as the following repetition’s start line.
A loop time and again executes Code in its Frame till the loop conditional assertion will become false.
A loop is divided into two elements:
Here is an example of a loop (a For Loop) in C#:
int i; String numbers = ""; for (i = 1; i <= nine; i ) numbers = i.ToString(); Console.WriteLine(numbers);The Output of the example is: “123456789.”
Your Score to Loop article
Score: 5 out of 5 (1 voters)
Be the first to comment on the Loop
tech-term.com© 2023 All rights reserved