Prime no


PRIME NO


parameters : num type i.


data : res type i.

res = num MOD 2.

if res = 0.

write : 'This is not a prime number'.

else.

write : num, 'is a prime number.'.

endif.




Comments

Popular posts from this blog

FOR ALL ENTRIES (FAE) -4 TABLES USING ALV_GRID_DISPLAY

RADIO-BUTTONS IN BASIC REPORT