From 94cb3f9f66fe521eb5d366b291fb0ac018771bfa Mon Sep 17 00:00:00 2001 From: Ulriche Nguefack Date: Mon, 5 Feb 2024 21:21:43 +0100 Subject: [PATCH] permutation and combination operation --- src/main/c/Calculator/calculator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index 870f164..b130f30 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -15,6 +15,8 @@ double square(double num); double sine(double angle); double cosine(double angle); double tangent(double angle); +double permutation(int n, int r); +double combination(int n, int r); int main() { double choice, num1, num2, result, angle;