The program randomly chooses 3 different numbers. The user wins when he/she guesses those 3 numbers. The user enters the 3 numbers that he/she guesses, the program produces the total number of "strike" or "ball."When the user correctly guesses both the number and its place, it is "strike"When the user correctly guesses the number, but not its place, it is "ball"The game is over with 3 strikes. At the end of the game, the program displays the finalscore. The final score is calculated by (100- (number of attempts*5).