Write a simple game in Java named GuessNumber.java to run on the command line.  This program asks user to pick a number and the computer guesses the number repetitively until the guess is correct. Allow the user to set the lower and upper bound as command line parameters from where the picks the number.  If no command line parameters are specified then the program uses a default of 1 to 99. Clue is using a do-while loop

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question

Write a simple game in Java named GuessNumber.java to run on the command line.  This program asks user to pick a number and the computer guesses the number repetitively until the guess is correct. Allow the user to set the lower and upper bound as command line parameters from where the picks the number.  If no command line parameters are specified then the program uses a default of 1 to 99. Clue is using a do-while loop 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 7 steps with 6 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,