|
@ -60,8 +60,8 @@ int generiereZufallszahl(int minimum, int maximum) { |
|
|
|
|
|
|
|
|
char generiereZufallsOperator() { |
|
|
char generiereZufallsOperator() { |
|
|
char operatoren[] = {'+', '-', '*', '/'}; |
|
|
char operatoren[] = {'+', '-', '*', '/'}; |
|
|
int index = rand() % 4; |
|
|
|
|
|
return operatoren[index]; |
|
|
|
|
|
|
|
|
int indexnumber = rand() % 4; |
|
|
|
|
|
return operatoren[indexnumber]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void zeigeAnleitung() { |
|
|
void zeigeAnleitung() { |
|
|