Course Content
Introduction to JavaScript
Challenge: Large or Small?
Task
Create a program that will output "LARGE"
or "SMALL"
depending on the given number:
- A number is considered large if it is greater than or equal to
100
. - A number is considered small if it is less than
100
. - You can assign any number to the variable
num
.
Hint
1. Use the
2. Use the
if
and else
keywords.2. Use the
>=
comparison operator.
Section 4.
Chapter 4