/* *How to use the while loop. * */ #include using namespace std ; int main () { int counter =10 ; while(counter > -1) { cout<< "Counter number= "<< counter<< endl; counter--; } return 0; }