From 59ba163cea08e18581792987381b617197edb3b2 Mon Sep 17 00:00:00 2001 From: fdai7782 Date: Mon, 5 Feb 2024 18:25:27 +0000 Subject: [PATCH] Removed scientificMode function from main_calculator.c --- src/main/c/main_taschenrechner.c | 40 -------------------------------- 1 file changed, 40 deletions(-) diff --git a/src/main/c/main_taschenrechner.c b/src/main/c/main_taschenrechner.c index 4223bf5..30fa51c 100644 --- a/src/main/c/main_taschenrechner.c +++ b/src/main/c/main_taschenrechner.c @@ -89,46 +89,6 @@ int bitwiseXOR(int num1, int num2) { } //.. - -// scientificmode -int scientificMode(){ - - double num, result; - - int choice; - - printf("Enter a number: "); - - scanf("%lf", &num); // scan the number from user - - printf("Scientific mode Options:\n"); - printf("1: Square root:\n"); - printf("2: Exponential:\n"); - printf("2: Logarithm:\n"); - printf("4: Trigonomertic"); - scanf("%d", &choice); // user choice - - switch(choice) { - - case 1: // Square root - break; - - case 2: // Exponential - break; - - case 3: // Logarithm - break; - - case 4: // Trigonomertic - break; - - default: printf("Invalid choice. Please try again.\n"); - - } - - return result; -} - // graphMode void graphMode() { double x, y;