Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Readme.md

Number Guessing Game

Introduction

It is a simple java code which is used to guess the number within limited trials.

How to use the code

1. Download the given code.
2. Run the NumberGuessingGame.java file.
3. Now take a random guess between 0 to 100.
4. If your guess is correct "Congratulations! You guessed the number." will be printed.
5. else if your guess is less than or greater than the number appropriate message will be printed.

Output

endpoint

built with love