Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Babbage-problem/FutureBasic/babbage-problem.basic
Normal file
12
Task/Babbage-problem/FutureBasic/babbage-problem.basic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
window 1
|
||||
|
||||
long i
|
||||
|
||||
for i = 1 to 1000000
|
||||
if i ^ 2 mod 1000000 == 269696 then exit for
|
||||
next
|
||||
|
||||
print @"The smallest number whose square ends in 269696 is ";i
|
||||
print @"Its square is ";i ^ 2
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue