This website works better with JavaScript
Начало
Каталог
Yoda
Portal
Forum
Помощ
Вход
ZipCodeWilmington
/
ZCW-TooLargeTooSmall-BlueJ
Наблюдаван
4
Харесван
0
Разклонения
37
Код
Задачи
0
Заявки за сливане
36
Версии
0
Уики
Activity
1
Commit
1
Клон
Клон:
master
master
Клонове
Маркери
${ item.name }
Create branch
${ searchTerm }
from 'master'
${ noResults }
ZCW-TooLargeTooSmall-BlueJ
HTTPS
ZIP
TAR.GZ
Froilan Miranda
8f75afc06b
initial commit
преди 6 години
.DS_Store
initial commit
преди 6 години
Main.java
initial commit
преди 6 години
README.md
initial commit
преди 6 години
README.md
ZCW-MicroLabs-JavaFundamentals-TooLargeTooSmall
Guessing Game; Too Large Too Small
Topics
user input
Random
object
Overview
Write a guessing game which prompts a user to guess a mystery number within some range.
After every guess the program should display some variation of "too large", "too small", "correct guess", respectively.
Upon termination, the program should display the number of guesses before successfully guessing correctly.
A number that is input consecutively, should register as a single guess.
Unit Test
No Unit Test
What's Next?
The next lab can be found
here