Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Seating Chart | Working with 2D Arrays
Quizzes & Challenges
Quizzes
Challenges
/
C# Arrays

bookChallenge: Seating Chart

Tehtävä

Swipe to start coding

You have learned how to declare and use 2D arrays. In this task, you will practice by creating and displaying a classroom seating chart.

  • Create a 2D string array with 3 rows and 4 columns where each element is a student's name.
  • Return the seating chart from the CreateSeatingChart function.
  • Print the seating chart in table format using the PrintSeatingChart function so that each row of names appears on a new line, and names in the same row are separated by " | ".

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 4. Luku 2
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: Seating Chart

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

You have learned how to declare and use 2D arrays. In this task, you will practice by creating and displaying a classroom seating chart.

  • Create a 2D string array with 3 rows and 4 columns where each element is a student's name.
  • Return the seating chart from the CreateSeatingChart function.
  • Print the seating chart in table format using the PrintSeatingChart function so that each row of names appears on a new line, and names in the same row are separated by " | ".

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 4. Luku 2
single

single

some-alt