hey guys can sumone please help me by telling wat exactly is the syntax for a do while loop....for example if v want to to ask the user integers again and again till a condition is satisfied...plz help...thank u
this is wat i have ritten but the loop never continues
# include <iostream.h>
void main ()
{int a=0;
int b=0;
int c=a-b;
do
{
cout<<"enter two integers"<<endl;
cin>>a;
cin>>b;
a=a;
b=b;
}
while(c>0);
}