Write a Guessing a number game application: User will select the guessing value from the keyboard and application will generate a random no between 1 and 100. Check if the guess value matched with random no. or not, if matched show the guessing value, random value and the no. of attempts.


Updated: Nov. 27, 2020 — Training Time: 2 minutes
Overseen by: Archangel Macsika
Topic:Generic - Java Programming

Difficulty: Advance.

Companies who previously asked this: -.

Objective: Write a Guessing a number game application: User will select the guessing value from the keyboard and application will generate a random no between 1 and 100. Check if the guess value matched with random no. or not, if matched show the guessing value, random value and the no. of attempts.

Input: Value from a keyboard.

Expected Output: Random value and the no. of attempts.

Sikademy Solution

Was this training resource helpful?