Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Reverse Print | Array Fundamentals
C# Arrays

bookChallenge: Reverse Print

Tehtävä

Swipe to start coding

Write a function that prints the elements of a string array in reverse order, one per line.

  • Start from the last element of the array.
  • Continue printing each element until you reach the first element.
  • Print each element on its own line.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 7
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

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

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Reverse Print

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

Write a function that prints the elements of a string array in reverse order, one per line.

  • Start from the last element of the array.
  • Continue printing each element until you reach the first element.
  • Print each element on its own line.

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 7
single

single

some-alt