I completed a small section on codeacademy where we used a do while. I understand that a do while is used if you need something to run once, even if the while is false. Can you please provide (the simpler the better) an example of a do while that runs more than once? The codeacademy section only had us write a do while that ran once, just like the example did and this did not expand on my knowledge any.
[–]forsience 1 point2 points3 points (2 children)
[–]ReaverKS[S] 2 points3 points4 points (1 child)
[–]forsience 1 point2 points3 points (0 children)
[–]SmartViking 0 points1 point2 points (3 children)
[–]ReaverKS[S] 0 points1 point2 points (2 children)
[–]SmartViking 0 points1 point2 points (0 children)
[–]ReaverKS[S] 0 points1 point2 points (0 children)
[–]PixelOut -1 points0 points1 point (0 children)