diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 19094c6..a49e21a 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -1235,11 +1235,9 @@ void play_factorlie() { void play_milliongame() { printf("\nPlaying who wants to be a millionaire...\n\n"); - int million_i = 0, million_k = 0;; - char million_user_answers[NUM_ROUNDS]; - char million_std_answers[NUM_ROUNDS] = {'A', 'C', 'D', 'C', 'B', 'D', 'B', 'A', 'B', 'B', 'A', 'D', 'C', 'C', 'B'}; - int million_stay_in_game = 0, million_reward = 0, million_checkpoint = 0, million_count_replace = 0; - int million_lifeline_hint = 1, million_lifeline_delete = 1, million_lifeline_friend = 1; + int million_i = 0, million_k = 0, million_checkpoint = 0, million_reward = 0, million_count_replace = 0; + int million_stay_in_game = 0, million_lifeline_friend = 1, million_lifeline_delete = 1, million_lifeline_host = 1; + char million_std_answers[round] = {'A', 'C', 'D', 'C', 'B', 'D', 'B', 'A', 'B', 'B', 'A', 'D', 'C', 'C', 'B'} , million_user_answers[round]; char questions[NUM_ROUNDS][256] = { "What is the capital of Germany?",