COP 1000c Lab Assignment 7

Who Wants to Be a Millionaire 

Your final project will be to create a quiz game similar to “Who Wants to be a Millionaire?” 

Requirements: 

• Your game will include 5 questions.

• You will ask the user multiple choice questions (in increasing difficulty if possible). 

• Each question, if answered correctly, will have a point value attached to it. The point values should be as follows: 100, 200, 500, 1000, 2000. 

• Unlike the game on T.V., the score will be an accumulation of the points earned throughout the game and the user may continue if he/she answers incorrectly. Show the user’s point total after each question. 

• At the end of the game, the user should be given the option to play again if he/she chooses. 

• Include a text file called “highscore.txt” that stores the highest scoring player’s first name and score. Update the text file if the user scores the highest score. 

• Include at least three functions in your program. 

Input Validation: The user must choose valid options from menus. 

Grading Criteria: 

1. Algorithm 

2. Text File manipulation 

     -Read from file  

     -Compare to score in file  

     -Write to file 

3. Loops/If Structures 

     -Game ends at correct place  

     -Play as many times as user wishes  

     -Game and score resets o Input Validation 

4. Score Accumulation 

5. Functions 

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now