Monday, December 10, 2007

How to display a same word with while-loop

How to display a same word with while-loop

To display a same word with while-loop

#include

main( )

{ int counter = 0;

while(counter <>

{ counter++;

cout << "\n"<<"while-loop testing! ";

}

return 0;

}

Result :

No comments: