|
@ -27,6 +27,7 @@ int crandomNumber() { |
|
|
void wwm(){ |
|
|
void wwm(){ |
|
|
|
|
|
|
|
|
printf("Welcome to ´Who wants to be a millionaire?´ \n"); |
|
|
printf("Welcome to ´Who wants to be a millionaire?´ \n"); |
|
|
|
|
|
printf("Choose your answer with the numbers 1-4! \n"); |
|
|
|
|
|
|
|
|
const char* question[] = { |
|
|
const char* question[] = { |
|
|
"Which planet is known as the `blue planet`?", |
|
|
"Which planet is known as the `blue planet`?", |
|
@ -68,7 +69,6 @@ void wwm(){ |
|
|
|
|
|
|
|
|
printf("__________________________________________________ \n\n"); |
|
|
printf("__________________________________________________ \n\n"); |
|
|
printf("You are at stage %d and have %d $\n", runde, geld); |
|
|
printf("You are at stage %d and have %d $\n", runde, geld); |
|
|
srand(time(0)); |
|
|
|
|
|
crandomNumber(); |
|
|
crandomNumber(); |
|
|
printf("Question %d: %s\n", runde + 1, question[frage]); |
|
|
printf("Question %d: %s\n", runde + 1, question[frage]); |
|
|
|
|
|
|
|
|