lundi 24 août 2015

How do I print this pattern?

I'm new to programming (C++) and having trouble with this problem.

I'm supossed to print out a diamond pattern, where a user enters the number which corresponds to the length of the diagonals. For example, if a user enters a number 7, it should look like this:

http://ift.tt/1Nx3mES

Aucun commentaire:

Enregistrer un commentaire