answersLogoWhite

0


Best Answer

A Loop.

User Avatar

Eleazar Sanford

Lvl 10
1y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

start over

sequence

decision

repitition

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Repetition Structure

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

loop (aka cycle)

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

A Loop.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What structure causes a statement or set of statements to execute repeatedly?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you execute the statement repeatedly with out using whileloop in c?

for (;;) ...statement...;


What structure allows you to test the value of a variable or an expression and then use that to determine which statement or set of statements to execute?

multiple alternative decision structure / case structure


Is a set of statements that execute in the order that they appear?

Sequence structure, is a set of statements that execute in the order that they appear By evolutionx86


What structure can be execute a set of statements only under certain circumstances?

Decision structure.


What optional statement can be used in a case structure to execute statements when all other conditions are false?

default : <statement>; i.e. switch (value) { case 1 : do_this(); break; case 2 : do_that(); break; default : do_whatever(); }


What are the conditional statement of turbo c plus plus dos based?

Statements that check an expression then may or may not execute a statement or group of statements depending on the result of the condition.


The statement can cause other statements to execute under certain conditions?

Selection statement: if, switch/case, ternary conditional operator.


How do you group multiple PHP statements under an if statement?

If I got your question correctly, you want multiple statements to be executed using if-else statement. Here goes the code for it if($x>0) { // multiple statments here // As long as statements are in curly bracket // All of them would execute // before the if statement finishes } else { // same way put all your multiple statements // in curly brackets. All of them would execute // using a single if-else statement }


In which of the following scenarios would you need to use a nested IF statement?

You use a nested if when the condition is dependent upon another condition. For example: if (ptr != nullptr) { // ptr is non-null -- test the value it refers to if (ptr* == 0) { // the value pointed to by ptr is zero } else { // the value pointed to by ptr is non-zero } } In this case, the alternative to a nested if creates an inefficiency: if (ptr != nullptr && *ptr == 0 ) { // ptr is valid and refers to the value zero } else if (ptr != nullptr) { // ptr is valid and refers to a non-zero value } In this example, the expression "ptr != nullptr" is evaluated twice when ptr is valid and refers to a non-zero value. The nested if only evaluates this expression one time.


How If and else run at a time?

The standard syntax is:if( conditional_expression )statement;[[else if( conditional_expression )statement;[else if...]]else statement;][] denotes optional components. Each statement may be a single statement, or may be multiple statements surrounded by braces {}.The if( conditional expression ) statement; is the only required component. In plain English, this reads: if the conditional expression is true, then execute the following statement, otherwise skip to the line following the statement.If the next line is an else statement, then the line reads: if the conditional expression is true, then execute the statement and skip over the else statement. But if the conditional expression is false, then skip over the statement and execute the else statement instead.if( conditional_expression )statement; // execute when conditional expression is trueelsestatement; // execute when conditional expression is falseThe statement following the else can be another ifstatement (a nested if):if( conditional_expression_1 )statement; // execute when conditional_expression_1 is true.else if( conditional_expression_2)statement; // execute when conditional_expression_1 is false and _2 is true.elsestatement; // execute when both _1 and _2 are both false.Note that if an else statement is used without a following if statement, it must appear after all other else if statements.


Looping statement in c plus plus?

There are several 'looping' statements in C++. They are:while () { }do { } while () ;for (index-start, index-end; index increment/decrement) { }They are used to repetitively execute statements as long as the statement(s) controlling the loop are true.


Fill in the blank The method of the allows you to combine related conditional statements?

The method of the if...else statement allows you to combine related conditional statements. This statement provides a way to execute different blocks of code based on whether a specified condition is true or false.