From cf87762320ccda06629eed05fbd3d9b85d20f6c9 Mon Sep 17 00:00:00 2001 From: fdai7801 Date: Fri, 9 Feb 2024 21:12:50 +0000 Subject: [PATCH] kabrel --- src/main/c/BasicMode.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/c/BasicMode.c b/src/main/c/BasicMode.c index a338063..cabb5c4 100644 --- a/src/main/c/BasicMode.c +++ b/src/main/c/BasicMode.c @@ -90,12 +90,15 @@ int main() { case 'C': case 'c': + do { + printf("which operation would you like to have?(+ for addition, - for subtraction,* for multiplication and r for return :"); + scanf(" %c", &auswahl2); - + } while (auswahl2 != 'R' && auswahl2 != 'r'); break; case 'Q':