#include "stdafx.h" #include using namespace std; int main(int argc, char* argv[]) { int i, j; for(i = 1; i <= 5 ; i++) { for(j = i; j >= 1 ; j--) cout << "*"; cout <<" "; for(j = 5; j >= i; j--) cout << "*"; cout << endl; } return 0; }