To display the series 2, 8, 18, 32… upto 10th term. (Qbasic Code)

To display the series 2, 8, 18, 32… upto 10th term. (Qbasic Code)
  • CLS
    FOR i = 1 TO 10
        PRINT i ^ 2 * 2;
    NEXT i
    END

Share :

Facebook Twitter Google+
Back To Top

facebook main

counter

Powered by Blogger.