Babbage problem: Difference between revisions

(fix typo "syntaxhighligh" -> "syntaxhighlight")
Line 4,636:
638269696
</pre>
 
=={{header|Tiny Craft Basic}}==
<syntaxhighlight lang="basic">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</syntaxhighlight>
 
=={{header|Transd}}==
305

edits