From 9a8bfb585e4b7f3d0fae180f1ffc4eff1a23e140 Mon Sep 17 00:00:00 2001 From: fdai7514 Date: Sun, 5 Feb 2023 00:01:00 +0100 Subject: [PATCH] refactoring: change variable names calculatorAdd.c and calculatorAdd.h --- src/calculatorAdd.c | 11 +++++++++-- src/calculatorAdd.h | 4 +++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/calculatorAdd.c b/src/calculatorAdd.c index 781e507..99c892a 100644 --- a/src/calculatorAdd.c +++ b/src/calculatorAdd.c @@ -1,5 +1,12 @@ #include "calculatorAdd.h" -float calculatorAdd(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 calculatorAdd(float num1,float num2) +{ + return num1+num2; +} diff --git a/src/calculatorAdd.h b/src/calculatorAdd.h index 443a906..412a599 100644 --- a/src/calculatorAdd.h +++ b/src/calculatorAdd.h @@ -1,6 +1,8 @@ #ifndef CALCULATORADD_H #define CALCULATORADD_H + #include #include -float calculatorAdd(float x,float y); +float calculatorAdd(float num1,float num2); + #endif // CALCULATORADD_H