Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Determine Sizes with Conditionals | Controlling Program Flow with Conditional Statements
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Introduction to JavaScript (copy with unittests)
Section 4. Chapter 4
single

single

bookChallenge: Determine Sizes with Conditionals

Swipe to show menu

Task

Swipe to start coding

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 4
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt