Write a program that allows accepting a positive integer number n and displaying n rows as the
following form:

Example: n =6
0
0 1
0 1 2
0 1 2 3
0 1 2 3 4
0 1 2 3 4 5

Recommended Answers

Please read this first.

We won't do your homework, we'll help when you encounter problems. Show some code, ask questions about it.

Jump to Post

All 2 Replies

Please read this first.

We won't do your homework, we'll help when you encounter problems. Show some code, ask questions about it.

help on this one

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.