answersLogoWhite

0


Best Answer

First rule - you never talk about first rule of a structured loop.

Haha i kid. It's to ensure that it will end cleanly and not run infinitely.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the first rule in a structured loop?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

A structured established rule by authority?

A structured, established rule by some 'authority' is likely a state.


Does 'for loop' works in C plus plus?

In C++, a for loop is structured as follows: for( int index = 0; index < 10; ++i ) { //do something }


What is priming input?

A priming input, also known as priming read, is the statement that reads the first input data record prior to starting a structured loop.


Once your program enters the body of a structured loop?

It might or might not leave it later.


What is iterations in c language?

An iteration is an instance of a structured loop statement (for, while or do-while).


What conservation laws governs kirchhoff's loop rule?

Kirchoff's first rule is a demonstration of law of conservation of charge and his second rule is a demonstration of law of conservation of energy.


How do you use kirchhoff's voltage rule in complex circuits?

You apply the rule to each loop in the circuit individually, and each loop produces a separate equation. You solve the collection of equations for the individual loop currents.


How can a loop be structured so that it terminates a statement in the middle of its block?

I think you want to use statement break.


Is there any rule that if I use an If in a loop then i cant use that if in another loop?

If your question makes sense at all, and it is about programming, then the answer is no.


How does loop work?

In programming, a loop works by conditionally jumping to the start of the loop and repeating the instructions. If the condition evaluates false, execution continues to the next instruction, thus breaking out of the loop. We can also break out of a loop from within the body of the loop itself using another conditional jump which jumps out of the loop. If we jump backwards out of a loop we effectively create an intertwined loop, known as spaghetti code which is difficult to read and maintain. Structured loops help make it easier to digest the logic. In C, a jump is achieved using a goto and a label. However, structured loops using for, while and do-while statements make loops much easier to read and maintain.


How do you make a cursive k?

To make a cursive "k," start with a loop at the top, then bring the line down and loop it around to create the bottom portion, and finish with a small tail extending to the right. Practice making the letter in a flowing motion to achieve a natural cursive look.


What the difference between pretest loop and posttest loops?

The difference is that pre means before and post means after in Latin so it's tested before or after. :)