@ -0,0 +1,12 @@
#include "stdlib.h"
#include "arithmeticMultiplication_Double.h"
double* multiplication_double(double num1, double num2) {
double* result = (double*)malloc(sizeof(double));
if (result == NULL) {
return NULL; // Handle memory allocation failure
}
*result = num1 * num2;
return result;
@ -0,0 +1,14 @@
#ifndef THEADMIRALS_ARITHMETICMULTIPLICATION_DOUBLE_H
#define THEADMIRALS_ARITHMETICMULTIPLICATION_DOUBLE_H
double* multiplication_double(double num1, double num2);
#endif //THEADMIRALS_ARITHMETICMULTIPLICATION_DOUBLE_H