Hey! I am stuck on a problem in which i have to print an isosceles triangle (two sides equal) with any character. It would be really helpful if someone could tell me the code, the triangle should look like this:
*
***
*****
*******
arslan.haroon 0 Newbie Poster
Recommended Answers
Jump to PostIll give you a hint. You will need to use 2 for loops.
All 3 Replies
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
NathanOliver 429 Veteran Poster Featured Poster
hariskhank 0 Newbie Poster
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.