Basic Program To Print Sum of Raise to Power Four Upto Number Specified

REM SUM OF RAISE TO POWER FOUR UPTO NUMBER SPECIFIED
REM SIMILARLY TRY SQ,CUBE,SIMPLE SUMS, SUM OF ODDS,EVENS IN FIRST Q
REM NATURAL NUMBERS..
CLS
INPUT “ENTER THE NUMBER “; Q
FOR I = 1 TO Q
SUM = 0
SUM = SUM + I ^ 2 * I ^ 2
PRINT SUM;
NEXT I
END

Please follow and like us:

Leave a comment