Do while loop challenge

S02 L25 do while loop challenge 2

I got into coding with C#, so I’m more familiar with if statements laid out like I’ve done it in the second image. I’ve used a bool variable to create the condition checked by while, though I’m sure there’s a more streamlined way of doing it!

Nice job

BTW next time you want to share code you can just use the preformatted text rather then posting screen shots, Might save you a little time.

Keep up the nice work buddy!

1 Like

Ah yes, worked out how to use that properly literally just now, I’ll do that in future :slight_smile: thanks!

1 Like

Privacy & Terms