Browse Source

refactoring: change variable names calculatorAdd.c and calculatorAdd.h

remotes/origin/feature/calculator-add
fdai7514 2 years ago
parent
commit
9a8bfb585e
  1. 11
      src/calculatorAdd.c
  2. 4
      src/calculatorAdd.h

11
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;
}

4
src/calculatorAdd.h

@ -1,6 +1,8 @@
#ifndef CALCULATORADD_H
#define CALCULATORADD_H
#include<stdio.h>
#include<stdlib.h>
float calculatorAdd(float x,float y);
float calculatorAdd(float num1,float num2);
#endif // CALCULATORADD_H
Loading…
Cancel
Save