I am thinking about doing a pyramid with only 2 loops. It is even possible? I am trying this on C++ via /r/learnprogramming


I am thinking about doing a pyramid with only 2 loops. It is even possible? I am trying this on C++

Pyramid of stars. I am thinking to use if statements but with no luck.

Sample of solution with 3 loops. http://ift.tt/2tMKrQD

Submitted July 12, 2017 at 10:44AM by Sajgon66
via reddit http://ift.tt/2sQv4Fu

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s