Basic Program To Print Sum of Raise to Power Four Upto Number Specified
1May.2018
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
No Comments