vendredi 16 octobre 2015

How would I do this pattern for example in C++ using for loops?

So I'm trying to make a special project in C++. Now it's.... big. But basically in this part I am stuck. I want to create these patterns using for loops. I don't want to use external images. It's just going to work for my project for various reasons. I asked my friend and he told me it's actually called a pattern (never knew that).

I think I would do it like this:

 for (           )

    for (        )
    cout << ("

But I'm completely lost! Can someone help me with one so I could do the other?

The image I'm trying to make is this one:

http://ift.tt/1ZJUU9V

But like I said I'm stuck. I think the logic is ROWS and COLUMNS. I really just don't want an answer. I want to learn this as well so I can do this simpler one (I think)

http://ift.tt/1Lf56Qh

Aucun commentaire:

Enregistrer un commentaire