Hi guys I need to make a diamond like this for my lecturer,using nested for statements. I am having troubles. Can you guys give me any tips? ty.
Jade_2
0
Newbie Poster
Recommended Answers
Jump to PostI'll give you a few pointers, but you don't need to nest anything.
rows = 9
increment/decrement amount = 2
symbol = *
(textalign = center - for layout)With this info you can create any size of diamond, as long as the rows = odd number. Once you hit …
All 3 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.