while loop checks the condition before executing the loop body. If the condition is false initially, the loop body will not execute even once.
do...while loop executes the loop body first and then checks the condition. This ensures that the loop body is executed at least once, even if the condition is false initially.