Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Temperature Advisor | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Temperature Advisor

Compito

Swipe to start coding

Write a program that gives clothing advice based on the temperature.

Use an if-else statement to check:

  • If the temperature is above or equal to 25°C, output: "It is warm outside. Wear light clothes!".
  • Otherwise, output: "It is cold outside. Wear a jacket!".

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 38
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

bookChallenge: Temperature Advisor

Scorri per mostrare il menu

Compito

Swipe to start coding

Write a program that gives clothing advice based on the temperature.

Use an if-else statement to check:

  • If the temperature is above or equal to 25°C, output: "It is warm outside. Wear light clothes!".
  • Otherwise, output: "It is cold outside. Wear a jacket!".

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 38
single

single

some-alt