To display the series, 3, 12, 27, ……. 10th term. (Qbasic Code)

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

Share :

Twitter
Back To Top

facebook main

counter

Powered by Blogger.