#include <iostream>
usingnamespace std;
int main()
{
constint arm = 4; // change back to 2 when desired
int diam = 2 * arm + 1;
for ( int i = 0; i < diam; i++ )
{
for ( int j = 0; j < diam; j++ ) cout << ( j == i || j == diam - 1 - i || i == arm || j == arm ? '*' : ' ' );
cout << '\n';
}
}