Skip to Content
0
Former Member
Feb 12, 2008 at 10:01 AM

unpredictable result in floyd triangle

100 Views

ok i will work out the internal tables now. after i will reward to u.

i want to print the floyd triangle just like as

1

1 2

1 2 3

1 2 3 4

1 2 3 4 5

i was developed a abap coding for these but it depict the unpredictable answer.

coding is shown below

data : in type i value 0,

jn type i value 0.

while in le 5.

while jn le in.

write:/ jn.

compute jn = jn + 1.

endwhile.

write:/.

compute in = in + 1.

endwhile.