Untitled

mail@pastecode.io avatar
unknown
plain_text
23 days ago
243 B
1
Indexable
Never
PARAMETERS: p_upper_limit TYPE i.

DATA: lv_counter TYPE i.

WRITE: 'Liczby parzyste od 1 do', p_upper_limit, ':'.

DO p_upper_limit TIMES.
  lv_counter = sy-index.
  IF lv_counter MOD 2 = 0.
    WRITE: / lv_counter.
  ENDIF.
ENDDO.
Leave a Comment