Challenge: Seating Chart
Завдання
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
CreateSeatingChartfunction. - Print the seating chart in table format using the
PrintSeatingChartfunction so that each row of names appears on a new line, and names in the same row are separated by" | ".
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 4. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Awesome!
Completion rate improved to 3.57
Challenge: Seating Chart
Свайпніть щоб показати меню
Завдання
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
CreateSeatingChartfunction. - Print the seating chart in table format using the
PrintSeatingChartfunction so that each row of names appears on a new line, and names in the same row are separated by" | ".
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 4. Розділ 2
single