course content

Course Content

Introduction to JavaScript

Challenge: Large or Small?Challenge: Large or Small?


Create a program that will output "LARGE" or "SMALL" depending on the given number:

  1. A number is considered large if it is greater than or equal to 100.
  2. A number is considered small if it is less than 100.
  3. You can assign any number to the variable num.
1. Use the if and else keywords.

2. Use the >= comparison operator.

Section 4.

Chapter 4