1234
* * * * * * * * * * * * * * * *
123456789101112131415161718
#include <iostream> using std::cout; using std::endl; int main() { int count = 1; while ( count <= 4 ) { // output line of text cout << ( count % 2 ? "****" : " ****" ) << endl; count++; // increment count } // end while return 0; }