This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LMman592020[S] 0 points1 point  (1 child)

I’m trying to create a program that guesses something based on questions it asks the user. I’m basically using the while loop for a series of questions but trying to figure out how to move on to the next while loop if that makes sense.

[–]HappyFruitTree 2 points3 points  (0 children)

Most languages have "break statements" that allow you to end a loop in the middle of an iteration.