[Solved] CPSC_233 Java program that runs a guessing game solved

$25

File Name: CPSC_233_Java_program_that_runs_a_guessing_game_solved.zip
File Size: 508.68 KB

SKU: [Solved] CPSC_233 Java program that runs a guessing game solved Category: Tag:
5/5 - (1 vote)

Requirements:

Create a Java program that runs a guessing game. The computer chooses a random number between 1 and 20. The user

continues providing guesses until they have guessed the number. After each guess, let the user know if their guess was correct,

too low or too high. The execution of your program may look as follows:

Im thinking of a number between 1 and 20.

What is your guess: 10

Too high

What is your guess: S

Too Low

What is your guess: 8

Too high

What is your guess: 7

Thats the number was thinking of! Well done.

Additional Information:

  1. Before the program starts, print the random number to aid testing and debugging.
  2. Try to figure out how to generate random numbers in Java by doing a Google search. Ifyou have trouble deciphering the

information you find, use the course discussion board to get further clarification.

  1. Once you have your program running, do some error checking. Check to make sure the user entered a number and that it

is a number between 1 and 20.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CPSC_233 Java program that runs a guessing game solved
$25