From b0a81ef2b9e928f8399a38d99c38131bb8f302b1 Mon Sep 17 00:00:00 2001 From: Arthur Kovis <3013016@stud.hs-mannheim.de> Date: Tue, 8 Oct 2024 09:32:00 +0200 Subject: [PATCH] =?UTF-8?q?ParkhausVerwaltung=20zum=20Main=20Code=20hinzug?= =?UTF-8?q?ef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Parkhaus/src/parkhaus | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Parkhaus/src/parkhaus diff --git a/Parkhaus/src/parkhaus b/Parkhaus/src/parkhaus new file mode 100644 index 0000000..0277174 --- /dev/null +++ b/Parkhaus/src/parkhaus @@ -0,0 +1,12 @@ +public static void ParkhausVerwaltung(FahrzeugInfo Info) { + System.out.println("Verfügbare Plätze im Parkhaus: " + (maximalePlaetze - geparkteAutos.size())); + System.out.println("Aktuelle Kennzeichen im Parkhaus: "); + +// + for (String Autos : geparkteAutos.keySet()) { + System.out.println(Autos); + + } + System.out.println(); + + }