Please enable JavaScript to use CodeHS

Chapter 3

Boolean Expressions and if Statements

3.3 if-else Statements

Else Statements

Bill with Added Tip

Even and Odd

Check Your Understanding

  1. Invalid Answer

Exercise: Battleships Move