Pseudocode Assignment

Write pseudocode to print the following pattern 1 232 34543 4567654 567898765

Lets take value of n , suppose it to be 5
Now with every value of i, run a j loop for 2*i-1
So for i=1 we will print only one value in 1st row, i.e.,

1

for i=2 we will print 2 at starting and ending of row, and between it we will increment

232

for i=3, key value. we will print 3 at starting and ending of row, and between it we will increment and then decrement as you can see.

34543

for i=4. we will print 4 at starting and ending of row, and between it we will increment and then decrement as you can see.

4567654

for i=5. we will print 5 at starting and ending of row, and between it we will increment and then decrement as you can see.

567898765
image