From 83fa5a8dd6e44350e4bf70d9411ed3149d19b3ca Mon Sep 17 00:00:00 2001 From: 3009857 <3009857@stud.hs-mannheim.de> Date: Tue, 26 Nov 2024 00:46:46 +0100 Subject: [PATCH] h --- src/main/java/Uebung_03_Zehra/Main.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/main/java/Uebung_03_Zehra/Main.java b/src/main/java/Uebung_03_Zehra/Main.java index 797a357..69f9d3c 100755 --- a/src/main/java/Uebung_03_Zehra/Main.java +++ b/src/main/java/Uebung_03_Zehra/Main.java @@ -5,15 +5,11 @@ import java.util.*; public class Main { public static void main(String[] args) { - Stack stack = new Stack(); + + Stack stack = new Stack(); Scanner scanner = new Scanner(System.in); String expression = scanner.nextLine(); - BracketChecker bracketChecker = new BracketChecker(stack, expression); - System.out.println("Bitte geben Sie ihren Ausdruck ein"); - - - - - + BracketChecker bracketChecker = new BracketChecker(stack, expression); + System.out.println("Bitte geben Sie ihren Ausdruck ein"); } }