Problem in pattern

Hello, I am facing problem in printing the increasing numbers in this pattern.

I have divided this problem in some parts:

  1. Printing till mid row.

a)Printing the decreasing numbers till mid row
b)Printing the spaces till mid row
c)Printing the increasing numbers till mid row

  1. Printing below mid row.

a)Printing the decreasing number below mid row
b)Printing the spaces below mid row
c)Printing the increasing numbers below mid row

I am facing problem in © parts of both 1 and 2.

Here is my code :

Hey @yashsharma4304


If this resolves ur doubt then please mark it as resolved :slight_smile:

1 Like