Do while loop

I’ve done the do-while loop like this and I was wondering whether this solution is better or not than the one that Ben made in the video, in terms of efficiency.

Immagine

Privacy & Terms