Qbasic programing to :find the sum of 12 terms of the series 7+11+15+...hence, the first term a=7, common difference d=4 and number of terms n=12.
CLS
a = 7
FOR i = 1 TO 12
s = s + a
a = a + 4
NEXT i
PRINT s
END
CLS
a = 7
FOR i = 1 TO 12
s = s + a
a = a + 4
NEXT i
PRINT s
END
Qbasic programing to :find the sum of 12 terms of the series 7+11+15+...hence, the first term a=7,common difference d=4 and number of terms n=12.
