Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrajaktaSathe/Java
/ printGuessed
Method
printGuessed
Programs/Games/GuessTheNumber.java:40–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
return
false;
39
}
40
public
void
printGuessed(){
41
for
(
int
i = 0; i < 10; i ++){
42
if
(alreadyTold[i] != -1)
43
System.out.print(alreadyTold[i] +
" "
);
44
}
45
}
46
47
public
void
setGuessedToNull(){
48
for
(
int
i = 0; i < 10; i ++){
Callers
1
play
Method · 0.95
Calls
1
print
Method · 0.80
Tested by
no test coverage detected