answersLogoWhite

0

Control Structures can be combined by a process called Nesting.

Example:

if (x==true)

if(y==true)

{ Foo() }

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What are the two ways in which control structures can be combined?

Control Structures change the flow of a program.Control Structures can be combined using what is known as Nesting.In Nesting a control structure is put within another Control StructureExampleIf (x==y ) If (y==z) then do somethingWhile(X is Not 0) While ( Y is Not 100 ) then do something.


What are the two ways strings can be combined to create a new string?

Concat()


How many ways can a combined 6 be rolled with two standard dice?

5 :)


What are two ways to control sound?

Depends


What are two ways that researcher can avoid a biased sample?

experimental and control groups


How many ways can a combined 4 be rolled with two standard dice?

Assuming you mean a sum of 4, there are three ways this can be done: (1, 3), (2, 2) and (3, 1).


What are the two basic ways in representing linear structures in memory?

Data structures are classified as either linear or non linear, a data structure is said to be linear if its elements form a sequence, or, in other words, a linear list, there are two basic ways of representing such linear structures in memory, one way is to have the linear relationship between the elements represented by means of sequential memory locations, these linear structures are called arrays, the other way is to have the linear relationship between the elements represented by means of pointers or links, these linear structures are called linked lists.


What are the two ways in which a workplace can be controlled?

According to Richard Walton (1991), the work force can be managed in two ways, one based on control and the other based on commitment.


There are 2 entries to a hall. In how many ways you can enter and exit from the hall?

It depends if their is a window in the hall, because you can exit or enter the hall through a window, and you can only enter two ways, and exit two ways, making for a combined total of four ways to enter and exit the hall. its either that or there is 2 enterances and no exits


What are two ways the nervous system can control the force generated by a muscle?

The two ways that the nervous system can control the force generated by a muscle are by increasing amount and size of contactable muscle units and increasing how often action potentials are sent from the brain to the muscle.


What type of switch is installed to control a luminaire from two different control points?

A Three-way switch. 3-ways are used to control from two locations. As opposed to a Four-way switch, which is needed to control from more than two locations.


What do scientist infer from the similarities between these two structures?

What two structures