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 

To generate the series 20, 18.5, 15, 13.5, ….. upto 10th term. (Qbasic Code)

To generate the series 20, 18.5, 15,  13.5, ….. upto 10th term.
  • a = 20
    c = 1
    DO
        PRINT a
        a = a - 1.5
        c = c + 1
    LOOP UNTIL c > 10
    END

Share :

Twitter
Back To Top

facebook main

Powered by Blogger.