Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Game Zone Write an application that creates a quiz. The quiz should contain at least five questions about a hobby, popular music, astronomy, or any
Game Zone Write an application that creates a quiz. The quiz should contain at least five questions about a hobby, popular music, astronomy, or any other personal interest. Each question should be a multiple-choice question with at least four answer options. When the user answers the question correctly, display a congratulatory message. If the user responds to a question incorrectly, display an appropriate message as well as the correct answer. At the end of the quiz display the number of correct and incorrect answers, and the percentage of correct answers. Save the file as Quiz.java. a. Modify the Quiz application so that the user is presented with each question continually until it is answered correctly. Remove the calculation for percentage of correct answers-all users will have 100% correct by the ti they complete the application. Save the file as Quiz2.java. b. In Chapter 1, you created a class called Randomcuess. In this game, players guess a number, the application generates a random number, and players determine whether they were correct. In Chapter 5, you improved the application to display a message indicating whether the player's guess was correct, too high, or too low Now, add a loop that continuously prompts the user for the number, indicating
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started