Skip to content

mohan-warrior/PRODIGY_SD_02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

#Number Guessing Game
This Number Guessing Game is built using the Java programming language. The game uses the Random and Scanner classes, which are part of Java's built-in libraries.

#Description
Random: Used to generate a random number between 1 and 100.
Scanner: Used to take user input from the console.
The game will prompt you to guess the number, providing hints if your guess is too high or too low. You just need to have Java installed to run this program.

#Prerequisites
Java Development Kit (JDK) installed on your machine.

#Usage
1.Clone the Repository
git clone https://github.com/yourusername/NumberGuessingGame.git
cd NumberGuessingGame

2.Compile and Run the Program
javac NumberGuessingGame.java
java NumberGuessingGame

3.Play the Game
Enter your guesses when prompted.
The game will tell you if your guess is too high or too low.
Keep guessing until you find the correct number.
Enjoy playing the Number Guessing Game!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages