Wednesday, October 16, 2019

111. Qbasic program to generate 3, 3, 6, 9, 15, 24, 39, 63, 102, 165 .

111. Write a program to generate 3, 3, 6, 9, 15, 24, 39, 63, 102, 165 .
DECLARE SUB SERIES ( )
CLS
CALL SERIES
END
SUB SERIES ( )
A = 3
B = 3
FOR I = 1 TO 10
PRINT A;
C = A + B
A = B
B = C
NEXT I
END SUB

1 comment:

  1. You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!. 333 angel number

    ReplyDelete