Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: if Condition | Strutture di Controllo
Fondamenti di C#

bookChallenge: if Condition

Compito

Swipe to start coding

  • Declare an integer variable for the user’s age.
  • If the user is 18 or older, print Access granted.
  • If the user is between 13 and 17, print Access limited.
  • If the user is 12 or younger, print Access denied.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 8
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: if Condition

Scorri per mostrare il menu

Compito

Swipe to start coding

  • Declare an integer variable for the user’s age.
  • If the user is 18 or older, print Access granted.
  • If the user is between 13 and 17, print Access limited.
  • If the user is 12 or younger, print Access denied.

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 3. Capitolo 8
single

single

some-alt