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 PostThis is an excercise for you to learn. Being given the code only teaches you to beg for freebies.
It's not a difficult exercise, please make an honest attempt and then if you have problems feel free to ask about them.
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.