Browse Source

multiplication of three integers

remotes/origin/multiplication
fdai7930 11 months ago
parent
commit
2f7b0d79a8
  1. 4
      src/multiplication.c
  2. 1
      src/multiplication.h

4
src/multiplication.c

@ -10,6 +10,10 @@ double square(double x) {
return x * x; return x * x;
} }
int multiply_three_integers(int a, int b, int c) {
return a * b * c;
}

1
src/multiplication.h

@ -2,5 +2,6 @@
#define MULTIPLICATION_H #define MULTIPLICATION_H
extern double multi(double ein1, double ein2); extern double multi(double ein1, double ein2);
double square(double x); double square(double x);
int multiply_three_integers(int a, int b, int c);
#endif // MULTIPLICATION_H #endif // MULTIPLICATION_H
Loading…
Cancel
Save