If statements can be nested -- that is one internal if


IF statements can be nested -- that is, one (internal) IF statement within another (external) IF statement. What is the limit of nesting possible? How much nesting would be too much, in a practical sense?

The SELECT..CASE or SWITCH statement is a highly useful selection statement for a very particular type of selection structure. What is that type of selection structure? Include an example in either pseudocode or C#.

When would you use an IF statement and when a SWITCH statement in a C# program? How can we know when there is a good algorithmic situation that suggests using either of them?

Solution Preview :

Prepared by a verified Expert
JAVA Programming: If statements can be nested -- that is one internal if
Reference No:- TGS02850607

Now Priced at $15 (50% Discount)

Recommended (95%)

Rated (4.7/5)