I am getting an error for this ,
while(word != dog) {
}
i want to tell the user that if they type dog the loop will quit,
but the compiler is giving me an error. cannot find symbol for dog. why is this happening.
i thought the condition could be anything and im getting so confused!!!
thanks
while(word != dog) {
}
i want to tell the user that if they type dog the loop will quit,
but the compiler is giving me an error. cannot find symbol for dog. why is this happening.
i thought the condition could be anything and im getting so confused!!!
thanks