Академический Документы
Профессиональный Документы
Культура Документы
For example:
IF x = 1 THEN DISPLAY "x is equal to 1" OTHERWISE DISPLAY "x is not equal to 1".
Nested IF Statements
If you need to check more than one condition then you can use a nested if statement.
For example:
Your Go
Using the Command and Ships worksheets, create the battleship game using nested if statements.
lue in this cell.
E CONTROL SYSTEM
PLAYER 2 BATTLESHIP COMMAND CENTER
This will show all your hits Place X in a cell to fire your missles
E CONTROL SYSTEM
BATTLESHIP COMMAND CENTER
Place your ships here
X X X
X X X X
X X X X X
2 Ships
1 Ship
BATTLESHIP COMMAND CENTER
Place your ships here
X X X
X X X X
X X X X X
2 Ships
1 Ship