blob: a454dc3e2113f4c3ca8a260d818654bca1110e23 [file] [log] [blame]
Nathan Binkert44ebb8d2007-05-24 21:54:51 -070015 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