From a5ba79935f04992c6a75128d76fafb7483941bc1 Mon Sep 17 00:00:00 2001 From: Ulriche Nguefack <ulriche.nguefack@informatik.hs-fulda.de> Date: Mon, 5 Feb 2024 19:56:33 +0100 Subject: [PATCH] case 1 etry --- src/main/c/Calculator/calculator.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index 86dcaec..08943bd 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -21,9 +21,4 @@ switch (choice) { result = add(num1, num2); printf("Result: %d\n", result); break; - case 2: - printf("Enter two numbers: "); - scanf("%d %d", &num1, &num2); - result = subtract(num1, num2); - printf("Result: %d\n", result); - break; \ No newline at end of file + \ No newline at end of file