# What is more effective, a do while or a while?

I mean, with the same code, if I modify a do while into a while in this way:

do {$S;$} while ($B$) into a $S;$ while ($B$){$S;$} , there is any change in the code?

B = condition

S; = instructions

• Do you have any thoughts? – Raphael Oct 6 '17 at 23:09