hi I'm Maryam can you help me to draw this shape
* * *
* * * * * *
* * * * * * **
three triangles with the same base.
maryam ali
0
Newbie Poster
Recommended Answers
Jump to PostHello Maryam, I don't want to just give you the code, but to give you a hint: use a for loop which will iterate depending on the number of times you want to print.
All 2 Replies
Reply to this topic
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.