Home  |  IT Zone  | Practice ZoneTips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Be Aware  |  Articles  | Funny Pics | Entertainment | Songs | Simple Joys of Life |

To input the first term, common difference and final term of the series and display the series. (Qbasic Code)

To input the first term, common difference and final term of the series and display the series.
  • CLS
    INPUT "Enter the initial value of the series"; a
    INPUT "Enter the common difference of the series"; d
    INPUT "Enter the final value of the series"; c
    FOR i = a TO c STEP d
        PRINT i
    NEXT i
    END

Share :

X
Back To Top

facebook main

Powered by Blogger.