#include <iostream> using std::cout; using std::cin; #include <conio.h> int main( void ) { char ch = '*'; for ( int i=0; i<5; i++ ) { for ( int j=0; j<=i; j++ ) { cout << ch; } cout << '\n'; } for ( int i=5; i>=0; i-- ) { for ( int j=0; j<=i; j++ ) { cout << ch; } cout << '\n'; } cout << ">> Program terminates here!\n"; getche(); return 0; }