Loops?...

I want to print following * *** ***** ******* ******************** ********* ******* ***** *** * using some loop as assignment, as I am a beginner programmer & frustrated as fail to write better code than below:

I am using following codeint space;for(space=1; space<=6;space++){cout<< ;}cout<<*<<;

for(space=2; space<=6;space++){cout<< ;}cout<<**<<; and::::so onBut as code is so long so not acceptableThanks