powers.bas (268B)
15 PRINT "THIS PROGRAM COMPUTES AND PRINTS THE NTH POWERS" 26 PRINT "OF THE NUMBERS LESS THAN OR EQUAL TO N FOR VARIOUS" 37 PRINT "N FROM 1 THROUGH 7" 48 PRINT 510 FOR N = 1 TO 7 615 PRINT "N = "N 720 FOR I = 1 TO N 830 PRINT I^N, 940 NEXT I 1050 PRINT 1160 PRINT 1270 NEXT N 1380 END