How to use nested for loops to print pyramid and inverted pyramid on console




Code :

How to use nested for loops to print invert pyramid on console

Code :