diff --git a/src/multiplication.c b/src/multiplication.c index af39497..94d6fcb 100644 --- a/src/multiplication.c +++ b/src/multiplication.c @@ -189,6 +189,10 @@ int multiply_exponentiation(int base, int exponent) { int multiply_by_euler_prime(int num) { return (num << 1) + (num << 2) - num; +} + +int fibonacci_multiply(int num, int fib) { + return num * fib; } diff --git a/src/multiplication.h b/src/multiplication.h index eefb4ff..809a214 100644 --- a/src/multiplication.h +++ b/src/multiplication.h @@ -26,6 +26,9 @@ int multiply_octal_numbers(int num1, int num2); int multiply_hex_numbers(int num1, int num2); int multiply_exponentiation(int base, int exponent); int multiply_by_euler_prime(int num); +int fibonacci_multiply(int num, int fib); + + #endif // MULTIPLICATION_H