Register Login

Print 1 in pyramid shape, ABAP program

Updated May 18, 2018

* 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 ?

     


×