Java One Games Awesome Tv Show History Price Right Involves Trying Guess Five Digits Make Q37281360

In Java:

One of the games in the most awesome TV show in history, “ThePrice is Right,” involves trying to guess the five digits that makeup the price of a car.

For example, if the car’s price is $23,150, the user tries toguess those digits. If their guess was $20,500, they would have twodigits correct: the first digit (2) and the fifth digit (0). Thegame would then tell them that they have two digits right.

Write a class to simulate this game. The class needs to have anarray of five integers that hold the car’s price; you can set theprice of your own

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.