Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Program

Former Member
0 Likes
495

Hi,

How to wtite a program for this.

Accept the number and display the multiplication numbers of 5.

Thanks.

Hi,

see this code.


PARAMETERS:num(2) TYPE n.
data:res(4).

DO 10 TIMES.
  res = num * 5 * sy-index.
  WRITE:/ res.
ENDDO.

rgds,

bharat.

2 REPLIES 2
Read only

Former Member
0 Likes
481


REPORT ytest.
PARAMETERS i TYPE i .

WRITE i*5.


Read only

Former Member
0 Likes
481

Hi,

see this code.


PARAMETERS:num(2) TYPE n.
data:res(4).

DO 10 TIMES.
  res = num * 5 * sy-index.
  WRITE:/ res.
ENDDO.

rgds,

bharat.