Hi,
Im very new to Java and learning the basics in school. Were now on our very first assignment and I have a question about loops.
I dont want to post the code I have as I fear I could get in trouble by the school but my question is this,
If my current loop was printing a question that says "Person 1 do u like apples?" the user replies with "yes" and the program says "good"
it then repeats the question and if you say "no" it says "bad". my question is how would I make the question change each loop. For example
//
Person 1 do u like apples?
Yes
Good
Person 2 do u like apples?
no
Bad
//
I know what I said is probably extremely difficult to understand so i'm sorry for that.
Thanks to anyone who can help