hello every one
am new in this forum
and i need the source of printing arhombus shape by ***
i use vb6
the shape
*
**
***
****
*****
****
***
**
*
please i need the code quickly
please
hello every one
am new in this forum
and i need the source of printing arhombus shape by ***
i use vb6
the shape
*
**
***
****
*****
****
***
**
*
please i need the code quickly
please
Well lets see... First off you should know that there are several ways in which to do this. One way would be to use loops. Two of them as a matter of fact, and to be more precise, for loops. Now from your example it seems you will need a for loop that goes from 1 to 5 and then one that goes from 4 to 1 step -1. Then you should also take a look at the String Function for printing out your characters with the Print Statement.
Good Luck
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.