From c14d061ac40d5ba6e059062bd428c56e9250ae5a Mon Sep 17 00:00:00 2001 From: fdai7514 Date: Mon, 6 Feb 2023 19:51:32 +0100 Subject: [PATCH] refactoring: change variable names and format code in calculatorMultiply.c --- src/calculatorMultiply.c | 10 +++++++++- src/calculatorMultiply.h | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/calculatorMultiply.c b/src/calculatorMultiply.c index df3f401..42e1763 100644 --- a/src/calculatorMultiply.c +++ b/src/calculatorMultiply.c @@ -1,2 +1,10 @@ #include "calculatorMultiply.h" -float calculatorMultiply(float x, float y){return x*y;} +// Note: +/* This Function may or may not be implemented in actual program, even if it is merged to the main branch. + If it is temporarily not included in the main Program, then this has a role in future Development of the Project */ + +float calculatorMultiply(float num1, float num2) +{ + return num1 * num2; +} + diff --git a/src/calculatorMultiply.h b/src/calculatorMultiply.h index 8641b05..569b389 100644 --- a/src/calculatorMultiply.h +++ b/src/calculatorMultiply.h @@ -2,7 +2,7 @@ #define CALCULATORMULTIPLY_H #include #include -float calculatorMultiply(float x, float y); +float calculatorMultiply(float num1, float num2);