Browse Source

arithmetic Subtraction specification

remotes/origin/develop
Leon Wolf 11 months ago
parent
commit
523a794b20
  1. 1
      src/arithmeticSubtraction.c

1
src/arithmeticSubtraction.c

@ -8,6 +8,7 @@ int* subtraction_integer(int a, int b) {
*result=a - b;
return result;
}
//arithmetic Subtraction specification float
float* subtraction_float(float a, float b) {
float* result= malloc(sizeof (float));
*result=a - b;

Loading…
Cancel
Save