Exercise 7-2
: JavaScript Conditional Statements
This script tests user input with the
if
and
else if
commands.
Using
if
and
else if
statements