From b5f763109a68e17f3a9a2e714bef8114cd30063e Mon Sep 17 00:00:00 2001 From: Ulriche Nguefack Date: Mon, 5 Feb 2024 20:45:46 +0100 Subject: [PATCH] additional operations --- src/main/c/Calculator/calculator.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index b46882a..a5d66a4 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -6,6 +6,11 @@ int add(int num1, int num2); int subtract(int num1, int num2); int multiply(int num1, int num2); int divide(int num1, int num2); +double exponent(double base, double exponent); +double modulus(double num1, double num2); +double logarithm(double num); +double potential(double base, double exponent); +double squareRoot(double num); int main() { int choice, num1, num2, result;