Question: 1. Original Double-Selection if: if temperature > 0 if temperature >= 100 Print STEAM else Print WATER endIf else Print ICE endIf Is the following
1.
Original Double-Selection if:
if temperature > 0 if temperature >= 100 Print "STEAM" else Print "WATER" endIf else Print "ICE" endIf Is the following equivalent to the original? Choose Yes or No below. Is the following nested or stacked? Choose Nesting or Stacking below. if temperature > 0 and temperature >= 100 Print "STEAM" else Print "WATER" endIf if temperature <= 0 Print "ICE" endIf
| a. | Yes | |
| b. | No | |
| c. | Nesting | |
| d. | Stacking |
2.
Original Double-Selection if:
if temperature > 0 if temperature >= 100 Print "STEAM" else Print "WATER" endIf else Print "ICE" endIf Is the following equivalent to the original? Choose Yes or No below. Is the following nested or stacked? Choose Nesting or Stacking below. if temperature > 0 and temperature >= 100 Print "STEAM" else if temperature <= 0 Print "ICE" else Print "WATER" endIf endIf
| a. | Yes | |
| b. | No | |
| c. | Nesting | |
| d. | Stacking |
3.
Original Double-Selection if:
if temperature > 0 if temperature >= 100 Print "STEAM" else Print "WATER" endIf else Print "ICE" endIf
Is the following equivalent to the original? Choose Yes or No below. Is the following nested or stacked? Choose Nesting or Stacking below. if temperature >= 100 Print "STEAM" else if temperature > 0 Print "WATER" else Print "ICE" endIf endIf
| a. | Yes | |
| b. | No | |
| c. | Nesting | |
| d. | Stacking |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
