From d5740ddb8db648bf897aa1dee768ad9c50bb668d Mon Sep 17 00:00:00 2001 From: Ulriche Nguefack Date: Mon, 5 Feb 2024 19:35:20 +0100 Subject: [PATCH] main structure --- src/main/c/Calculator/calculator.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index b6b6010..a8c776a 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -4,4 +4,11 @@ void displayMenu(); int add(int num1, int num2); int subtract(int num1, int num2); -int multiply(int num1, int num2); \ No newline at end of file +int multiply(int num1, int num2); +int divide(int num1, int num2); + +int main() { + int choice, num1, num2, result; + + do { + displayMenu(); \ No newline at end of file