From 7badfbb83afc117bf63ef33e2cc7cc403b433187 Mon Sep 17 00:00:00 2001 From: Ulriche Nguefack Date: Mon, 5 Feb 2024 21:51:13 +0100 Subject: [PATCH] additional display menu 2 --- src/main/c/Calculator/calculator.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index 7616c8b..40c1b42 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -174,7 +174,15 @@ void displayMenu() { printf("9. Square Root\n"); printf("10. Square\n"); printf("11. Cube\n"); - + printf("12. Cube Root\n"); + printf("13. Factorial\n"); + printf("14. Power\n"); + printf("15. Sine\n"); + printf("16. Cosine\n"); + printf("17. Tangent\n"); + printf("18. Permutation\n"); + printf("19. Combination\n"); + printf("20. Exit\n"); } int add(int num1, int num2) { return num1 + num2;