Home  |  IT Zone  |  Tips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  World Infos  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Fun / Jokes  |  Decent Quotes  |  Birthday Msgs  |  Good Morning Msgs  |  Good Night Msg  |  Husband Wife Jokes  |  Teacher Students Jokes  |  Insult Jokes  |  Love Quotes  |  Sad Quotes  |  Funny Pics  |  Be Aware  |  Articles  |  Simple Joys of Life 

Qbasic programing to find the sum of 12 terms of the series 7+11+15+...

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

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.
 

Share :

X
Back To Top

facebook main

Powered by Blogger.