Browse Source

refactoring: change variable names and format code in calculatorMultiply.c

remotes/origin/feature/calculator-multiply
fdai7514 2 years ago
parent
commit
c14d061ac4
  1. 10
      src/calculatorMultiply.c
  2. 2
      src/calculatorMultiply.h

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

2
src/calculatorMultiply.h

@ -2,7 +2,7 @@
#define CALCULATORMULTIPLY_H
#include<stdio.h>
#include<stdlib.h>
float calculatorMultiply(float x, float y);
float calculatorMultiply(float num1, float num2);

Loading…
Cancel
Save