Tuesday, August 27, 2019

Qbasic Program to display 1,2,4,7,11,.....10 th term

2076 B.S. Bhadra 10 - Qbasic Program 02
Qbasic Program to display 1,2,4,7,11,.....10 th term


CLS
a = 1
b = 1
i=1
WHILE i<=10
PRINT a
a = a + b
b = b + 1
i = i + 1
WEND
END

No comments:

Post a Comment