Saturday, March 10, 2018

Qbasic Program to generate the series 3, 5, 8, 12, 17........15th term


Qbasic Program to generate the series 3, 5, 8, 12, 17........15th term

CLS
a = 3
b = 2
FOR i = 1 TO 15
    PRINT a
    a = a + b
    b = b + 1
NEXT i
END

3 comments:

  1. Uid 462349703😂😂😂😂

    ReplyDelete
    Replies
    1. hahahahhaha
      funny joke

      Delete
    2. i will not add yo u
      bastard
      ****
      you
      *****

      Delete