Computer Science, asked by ghoshashitbaran09876, 2 months ago

Write a program to print the following figure for n rows:

1

24

1 3 5

2 4 6 8

1 3 5 7 9​

Answers

Answered by shruthikadarla20
0

Answer:

simple answer

1st row is odd numbers

2nd row is even numbers

Attachments:
Similar questions