diff --git a/src/arithmeticAddition.c b/src/arithmeticAddition.c index 81ba426..7d664f2 100644 --- a/src/arithmeticAddition.c +++ b/src/arithmeticAddition.c @@ -12,8 +12,8 @@ int* addition_integer(int num1, int num2) { return result; } -double* addition_double(double num1, double num2) { +double* addition_double(double number1, double number2) { double* result = malloc(sizeof(double)); - *result = num1+num2; + *result = number1+number2; return result; } \ No newline at end of file