RosettaCodeData/Task/Babbage-problem/Craft-Basic/babbage-problem.basic
2023-07-01 13:44:08 -04:00

13 lines
194 B
Text

print "calculating..."
let n = 2
do
let n = n + 2
wait
loopuntil (n ^ 2) % 1000000 = 269696
print "The smallest number whose square ends in 269696 is: ", n
print "It's square is ", n * n