Register Login

Print 1 in pyramid shape, ABAP program

* ABAP PROGRAM TO PRINT 1 IN PYRAMID SHAPE

DATA:A TYPE i ,
     B TYPE I .
DO 10 TIMES.
DO B TIMES.
WRITE: '1'.
ENDDO.
B = B + 1.
WRITE / .
ENDDO.


Comments

  • 03 Aug 2017 6:55 am Guest

    what is b here ?