Within an if or an else statement, how can you code as many dependent if statements as you need and why is this useful?

What will be an ideal response?

?Within an if or an else clause, you can code as many dependent statements as you need, including other if and else statements. Statements in which a decision is contained inside either the if or else clause of another decision are nested if statements. Nested if statements are particularly useful when two or more conditions must be met before some action is taken.

Computer Science & Information Technology

You might also like to view...

How is a more extensive array of options, known as a gallery, displayed in Office 2010?

A) By clicking the contextual tab B) By clicking the More button C) By choosing the Page Layout tab and clicking the Gallery button D) By clicking the Quick Access Toolbar

Computer Science & Information Technology

Since they are designed to be lightweight and have long battery lives, tablet computers are traditionally not as powerful as traditional PCs

Indicate whether the statement is true or false

Computer Science & Information Technology