From 196c3df18a22e21626f3c219ccfbf24ff83fa4f9 Mon Sep 17 00:00:00 2001 From: Ulriche Nguefack Date: Mon, 5 Feb 2024 20:02:56 +0100 Subject: [PATCH] condition ending --- src/main/c/Calculator/calculator.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index a25009c..5ea7709 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -48,4 +48,9 @@ switch (choice) { break; default: printf("Invalid choice\n"); - } \ No newline at end of file + } + } + } while (choice != 5); + + return 0; +}