0

hi
i want to get following output.
1
2 2 2
3 3 3 3 3
4 4 4 4 4 4 4 and so on

in 1st row one 1
in 2nd three 2
in 3rd five 3
in 4rt seven 4
in 5th nine 5
(all odd outputs)

2
Contributors
2
Replies
3
Views
12 Years
Discussion Span
Last Post by let us c
0

Is this a homework question?

Have you tried to even get started on this? Why not post some code that you've written, and then others here will help. I'm not that much of a programmer, but this doesn't look too difficult. We're not here to do things for you; we're here to help you learn.

0

Is this a homework question?

Have you tried to even get started on this? Why not post some code that you've written, and then others here will help. I'm not that much of a programmer, but this doesn't look too difficult. We're not here to do things for you; we're here to help you learn.

I HAVE TRIED IT.IT IS QUIT SIMPLE BUT MANAGING ROWS AND COLOUMS AND NESTED LOOPS ARE MAKING FUSS.SO,PLAESE DO TRY GETTING IN SHAPE OF EQUILATERAL TRIANGLE.THANK U :D

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.