|
|
@ -399,7 +399,7 @@ int minus(int a, int b) |
|
|
|
int mal(int a, int b) |
|
|
|
{return a * b;} |
|
|
|
|
|
|
|
int division(int a, int b) { |
|
|
|
int durch(int a, int b) { |
|
|
|
if (b != 0) { |
|
|
|
return a / b; |
|
|
|
} else { |
|
|
@ -427,7 +427,7 @@ int compare(int a, int b) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
int exponentiation(int base, int exponent) { |
|
|
|
int exponent(int base, int exponent) { |
|
|
|
if (exponent < 0) { |
|
|
|
printf("Negative Exponenten werden nicht unterstützt.\n"); |
|
|
|
return 0; |
|
|
|