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

8 lines
214 B
Text

10 cls
20 number = 2
30 while ((number^2) mod 1000000) <> 269696
40 number = number+2
50 wend
60 print "The smallest number whose square ends in 269696 is: " number
70 print "It's square is " number*number
80 end