Sfida: Conteggio degli Elementi
Compito
Swipe to start coding
- Inizializzare
numberOfFruits
con la lunghezza dell'arrayfruitBasket
. - Se
numberOfFruits
contiene 3 o meno frutti, stampare:"We have a small fruit basket with [number] fruits!"
, dove[number]
rappresenta il numero di frutti. - Se
numberOfFruits
contiene più di 3 frutti, stampare:"We have a big fruit basket with [number] fruits!"
.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 5. Capitolo 9
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Awesome!
Completion rate improved to 1.33
Sfida: Conteggio degli Elementi
Scorri per mostrare il menu
Compito
Swipe to start coding
- Inizializzare
numberOfFruits
con la lunghezza dell'arrayfruitBasket
. - Se
numberOfFruits
contiene 3 o meno frutti, stampare:"We have a small fruit basket with [number] fruits!"
, dove[number]
rappresenta il numero di frutti. - Se
numberOfFruits
contiene più di 3 frutti, stampare:"We have a big fruit basket with [number] fruits!"
.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Awesome!
Completion rate improved to 1.33Sezione 5. Capitolo 9
single