I know I don't need this many for statement but I can't figure out how they should be combined.


main()

{

cout<<"\n\n\n";
cout<< "*";
cout<<"\n";

for (int s1=0; s1<2; ++s1)
cout<<"*";
cout<<"\n";

for (int s2=0; s2<3; ++s2)
cout<<"*";
cout<<"\n";

for (int s3=0; s3<4; ++s3)
cout<<"*";
cout<<"\n";

for (int s4=0; s4<5; ++s4)
cout<<"*";
cout<<"\n";

for (int s5=0; s5<6; ++s5)
cout<<"*";
cout<<"\n";

return 0;