Grapecity Interview Question

Pattern like that... 1 121 12321 1234321 ------------- --------------

Interview Answer

Anonymous

Jun 21, 2017

You can solve it by using 3 loop. first loop for new line. second loop for " "(space). third one for number print. P.S: I use a temp variable to control loop.

1