YogenGhodke
6/14/2019 - 8:22 AM

while and do-while

while(x==true)
    {
        // Does not execute if x is false
    }
    

do{
        // Executes once first, and then checks condition for second iteration
  }
while(condition)