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

bookChallenge: Seating Chart

Aufgabe

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 " | ".

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 4. Kapitel 2
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Seating Chart

Swipe um das Menü anzuzeigen

Aufgabe

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 " | ".

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 4. Kapitel 2
single

single

some-alt