i need the source of printing a rhombus in the following shape
by **** in vb6
______________*
_____________***
____________*****
___________*******
____________*****
_____________***
______________*

Ah once again... Okay, you will need to use a couple of loops, for loops exactly. The first from 1 to 7 Step 2 and inside that loop you will need to use the Space Function and String Function along with some simple math so you know how many spaces to add. Then, your second loop would go from 5 to 1 Step -2. You would also need to use the Space and String Functions inside of this loop. Also, I would suggest for the best output that you use a mono spaced font like courier new to do your printing...

Good Luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.