do is for looping and while is for condition to stop and show any action .
Example :
do {
x=x+1;
// It loops continuous until it stop through while condition.
}
while(x>=5);{
...
Type: Posts; User: Black Diamond
do is for looping and while is for condition to stop and show any action .
Example :
do {
x=x+1;
// It loops continuous until it stop through while condition.
}
while(x>=5);{
...
Please do not post baby code. Please make your code systatic indent.I will help you.