i did this and it gives me a error message "error: variable counter might not have been initialized"
if (guess > answer){ //If guess is higher than answer
System.out.println...
Type: Posts; User: gdoggson
i did this and it gives me a error message "error: variable counter might not have been initialized"
if (guess > answer){ //If guess is higher than answer
System.out.println...
How can i get a counter then display the number of attempts they have done withing my game after each right or wrong answer?
Here is my code:
/********************
Hilo Game...