Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Print Even Numbers | Array Fundamentals
Quizzes & Challenges
Quizzes
Challenges
/
C# Arrays

bookChallenge: Print Even Numbers

Tehtävä

Swipe to start coding

Practice iterating through arrays by filtering and printing only the even numbers from a list.

  • Loop through each element in the numbers array.
  • Check if the current element is an even number.
  • Print the even numbers.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 6
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

bookChallenge: Print Even Numbers

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

Practice iterating through arrays by filtering and printing only the even numbers from a list.

  • Loop through each element in the numbers array.
  • Check if the current element is an even number.
  • Print the even numbers.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 6
single

single

some-alt