Creating a do statement that has the properties of a while statement [closed]

I think you might be looking for

if(b)
{
    do
    {
        s;
    }
    while(b);
}

Leave a Comment