Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cse332-22wi
ex01-guessinggame-public
Commits
d99a463d
Commit
d99a463d
authored
Mar 24, 2022
by
Winston Jodjana
Browse files
Update Chooser.java
parent
ed5ac172
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/Chooser.java
View file @
d99a463d
...
...
@@ -6,12 +6,12 @@ import java.math.BigInteger;
public
interface
Chooser
{
/**
* You can use this method to guess any number and the chooser will return
* a String on whether the number numToGuess
is "correct", "higher", or "lower"
* a String on whether the number numToGuess
*
* @param numToGuess An arbitrary number to guess.
* @return "
correct" (your
answer is correct
)
,
*
"higher" (the
correct answer is higher
)
,
* or "
lower" (the
correct answer is lower
)
* @return "answer is correct
"
,
*
or "
correct answer is higher
"
,
* or "correct answer is lower
"
*/
String
guess
(
BigInteger
numToGuess
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment