While --> Each time it checks the condition before executing the block of code.
do..While -----> Executes the block of code and checks the condition.
Syntax
while(expression)
{
//Block of code
}
............... ....
do
{
//Block of code
}
while(expression)