diff --git a/src/multiplication.c b/src/multiplication.c index 578e007..4a8bd61 100644 --- a/src/multiplication.c +++ b/src/multiplication.c @@ -4,6 +4,7 @@ #include + double multi( double ein1, double ein2) { return (ein1 * ein2); } @@ -22,8 +23,8 @@ int multi_left_shift(int a, int b) { int multi_right_shift(int a, int b) { return a >> b; } -int multi_by_ten(int a) { - return a * 10; +int multi_by_five(int a) { + return a * 5; } float multi_by_percentage(float num, float percentage) { diff --git a/src/multiplication.h b/src/multiplication.h index ba940e2..405c98c 100644 --- a/src/multiplication.h +++ b/src/multiplication.h @@ -5,7 +5,7 @@ double square(double x); int multi_three_integers(int a, int b, int c); int multi_left_shift(int a, int b); int multi_right_shift(int a, int b); -int multi_by_ten(int a); +int multi_by_five(int a); float multi_by_percentage(float num, float percentage); int multi_by_random(int num); int multi_string(const char* str, int factor);