Did you ever initialize numberOfTries
?
Try changing this:
for (numberOfTries=0; numberOfTries = 4; numberOfTries++){
To:
for (int numberOfTries=0; numberOfTries <= 4; numberOfTries++){
2
solved required: boolean found: int 1 error
Did you ever initialize numberOfTries
?
Try changing this:
for (numberOfTries=0; numberOfTries = 4; numberOfTries++){
To:
for (int numberOfTries=0; numberOfTries <= 4; numberOfTries++){
2
solved required: boolean found: int 1 error