Is there something wrong with this loop?

Hi I’d like to know if this code is fine for my do while loop? the program works and it lets me loop if i press y but i was just wondering if there would be any side effects or would this come back to bite me later or is the syntax bad or something like that. thank you very much.

If you are referring to the while loop condition it’s fine.

Yes I am, thank you. And sorry I didnt make it clearer on the picture what I was talking about.

Privacy & Terms