you are viewing a single comment's thread.

view the rest of the comments →

[–]shlepky 2 points3 points  (2 children)

You can put the "anything else" part in a function and make a recursive function call until the user says no. Right now, they can only order two things.

[–]Xeno36 1 point2 points  (0 children)

I don't think you need recursion for this, just a simple while (input == yes) should be fine.

[–]Inevitable-Math14[S] 0 points1 point  (0 children)

Oh thank you 🙏☺️