Browse Source

refactoring: change variable names and format code in calculatorSubtract.c and calculatorSubtract.h

remotes/origin/feature/calculator-subtract
fdai7514 2 years ago
parent
commit
9e0d1cece9
  1. 9
      src/calculatorSubtract.c
  2. 2
      src/calculatorSubtract.h

9
src/calculatorSubtract.c

@ -1,5 +1,12 @@
#include "calculatorSubtract.h"
float calculatorSubtract(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 calculatorSubtract (float num1, float num2)
{
return num1 - num2;
}

2
src/calculatorSubtract.h

@ -4,7 +4,7 @@
#include <stdio.h>
#include <stdlib.h>
float calculatorSubtract(float x, float y);
float calculatorSubtract(float num1, float num2);

Loading…
Cancel
Save