Apply the rule of IF Statement
Write an IF statement that assigns the text "False" to the variable answer when variable x — 0; otherwise, assign "True". Write an equivalent statement that has the same outcome but uses the opposite condition; x < > 0.
```
IF x =0 THEN
LET answer = "False"
ELSE
LET answer = "True"
END IF
```
Computer Science & Information Technology
You might also like to view...
Which of the following is NOT a type of device special file used in UNIX/Linux systems?
A. Block special files B. Character special files C. Stream special files D. Named pipes
Computer Science & Information Technology
A(n) ____________ class is used to define nodes that form dynamic data structures, which can grow and shrink at execution time.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology