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.
You might also like to view...
How many data files can be opened at the same time using Microsoft Word?
A. only one B. not more than three C. as many as needed D. not more than four
When moving objects in InDesign you should drag the selected to what panel?
A. Colors panel B. Layers panel C. Location panel D. Settings panel
Use the LET statement to assign data to variables as directed:
Assign the text "Bill" to the variable name.
The code for styles that apply only to the document in which you are working is placed in the ____ of that page.
A. head B. body C. title D. tail