1
121
12321
1234321
123454321
12345654321
1234567654321

i think you need to nest For Loops using the counter of the first as the limit for the second

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.