7 lines
197 B
Text
7 lines
197 B
Text
100 PROGRAM "Babbage.bas"
|
|
110 LET N=2
|
|
120 DO
|
|
130 LET N=N+2
|
|
140 LOOP UNTIL MOD(N*N,1000000)=269696
|
|
150 PRINT "The smallest number whose square ends in 269696 is:";N
|
|
160 PRINT "It's square is";N^2
|