Data update
This commit is contained in:
parent
8f05c7136f
commit
0bf4da02c3
82 changed files with 2194 additions and 118 deletions
12
Task/Babbage-problem/Tiny-Craft-Basic/babbage-problem.basic
Normal file
12
Task/Babbage-problem/Tiny-Craft-Basic/babbage-problem.basic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
10 print "calculating..."
|
||||
|
||||
20 let n = 2
|
||||
|
||||
30 rem do
|
||||
|
||||
40 let n = n + 2
|
||||
|
||||
50 if (n ^ 2) % 1000000 <> 269696 then 30
|
||||
|
||||
60 print "The smallest number whose square ends in 269696 is: ", n
|
||||
70 print "It's square is ", n * n
|
||||
Loading…
Add table
Add a link
Reference in a new issue