Question: 1)a) Game - Guessing Age Write a JAVA application that uses a do while loop that prompts the user for an age. If the age
1)a) Game - Guessing Age Write a JAVA application that uses a do while loop that prompts the user for an age. If the age entered matches an age specified in the program, an output message should appear indicating that the user guessed the computers age. Otherwise the user should be prompted for another guess.
1)b) Game - Guessing Age. Modify the above JAVA application so an if statement is used to inform the user whether their guess is too high or too low.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
