error in fibonacci series in progress 4gl

  • Thread starter chaitanya mutyala
  • Start date
Status
Not open for further replies.
C

chaitanya mutyala

Guest
can anyone find the error regarding pattern 1

1 2
1 2 3
1 2 3 4
1 2 3 4 5.


I have tried like this:

DEFINE VARIABLE a AS INTEGER NO-UNDO.
DEFINE VARIABLE b AS INTEGER NO-UNDO.
DO
a =1 to 5 with frame f:
DO
b = 1 to a with frame f:
DISPLAY a space skip.
PAUSE.
END.
END.

Continue reading...
 
Status
Not open for further replies.
Top