Hi there,
This is my very first post so don't mind my stupidity
I'm also a pure beginner in
Java.
Anyways I'm having trouble with the code listed below, to tell you the truth I'm not sure where the program is located.
The output of program is suppose to be:
Ooh! Loook its a cat!
Cat: meow
Would you like to kick the cat?
<input here>
so if you type in yes
the cat will infinitely meow at you
if you type in no
the cat will purr at you 5 times.
The problem is that if you type in no nothing happens. did I made a mistake in the for loop? or is the ifs?
Please help.
Thanks in advance.