Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Determining Size | Conditional Statements
Introduction to JavaScript

Challenge: Determining SizeChallenge: Determining Size

Task

Create a program that outputs "LARGE" or "SMALL" based 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. Utilize the >= comparison operator.

¿Todo estuvo claro?

Sección 4. Capítulo 4
course content

Contenido del Curso

Introduction to JavaScript

Challenge: Determining SizeChallenge: Determining Size

Task

Create a program that outputs "LARGE" or "SMALL" based 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. Utilize the >= comparison operator.

¿Todo estuvo claro?

Sección 4. Capítulo 4
some-alt