To display the series (8, 27, 64, 125, 216) using READ DATA. (Qbasic Code)

To display the series (8, 27, 64, 125, 216) using READ DATA. (Qbasic Code)
  • CLS
    FOR i = 1 TO 5
        READ x
        PRINT x ^ 3;
    NEXT i
    DATA 2,3,4,5,6
    END

Share :

Facebook Twitter Google+
Back To Top

facebook main

counter

Powered by Blogger.