Question: what is the difference b/w while & do while loop?
Answer: While loop is executed only when given condition is true. Whereas, do-while loop is executed for first time irrespective of the condition. After executing while loop for first time, then condition is checked.