Hallo ich bin totaler Jüngling in Java und habe heute mit mehrdimensionalen Arrays begonnen ich habe die Aufgabe ein Reservierungsprogramm zu schreiben, die lautet:
1. The cinema hall consists of 3 blocks (A, B, C).
2. Each block consists of 4 rows with 10 seats each.
3. People can choose a block, specify the row and then several Reserve seats in this row.
4. The reservation is only successful if the places are not already taken and the Places also exist (formerly Block A row 2 places 2 - 5 exist; Block A row 4 Places 8-11 do not exist; Block D does not exist, etc.).
5. If the reservation was successful, this should be communicated to the software become.
Kann mir jemand tipps geben und Ansätze wie ich mich an so eine Aufgabe hingeben kann? Um selber auf die Lösung zu kommen? Das Problem ist manchmal das ich wirklich gar keine Ahnung habe wo ich jetzt anfangen soll, wie das ganze überhaupt auschauen soll. Danke für jeden Tipp und Hinweis an Vorangehenweisen!
1. The cinema hall consists of 3 blocks (A, B, C).
2. Each block consists of 4 rows with 10 seats each.
3. People can choose a block, specify the row and then several Reserve seats in this row.
4. The reservation is only successful if the places are not already taken and the Places also exist (formerly Block A row 2 places 2 - 5 exist; Block A row 4 Places 8-11 do not exist; Block D does not exist, etc.).
5. If the reservation was successful, this should be communicated to the software become.
Kann mir jemand tipps geben und Ansätze wie ich mich an so eine Aufgabe hingeben kann? Um selber auf die Lösung zu kommen? Das Problem ist manchmal das ich wirklich gar keine Ahnung habe wo ich jetzt anfangen soll, wie das ganze überhaupt auschauen soll. Danke für jeden Tipp und Hinweis an Vorangehenweisen!