diff --git a/src/arithmeticMultiplication_Double.c b/src/arithmeticMultiplication_Double.c index 845eaa1..f83f0fb 100644 --- a/src/arithmeticMultiplication_Double.c +++ b/src/arithmeticMultiplication_Double.c @@ -2,11 +2,11 @@ #include "arithmeticMultiplication_Double.h" -double* multiplication_double(double num1, double num2) { +double* multiplication_double(double a, double b) { double* result = (double*)malloc(sizeof(double)); if (result == NULL) { return NULL; // Handle memory allocation failure } - *result = num1 * num2; + *result = a * b; return result; }