Babbage problem: Difference between revisions

Content deleted Content added
→‎{{header|VBScript}}: added Tcl solution
Line 1,290:
Hope Mr Babbage can understand this one-liner...
<lang Tcl>for {set i 1} {![string match *269696 [expr $i*$i]]} {incr i} {}
puts "$i squared is [expr $i*$i]"</lang>
</lang>
<pre>
25264 squared is 638269696
</pre>
 
=={{header|VBScript}}==
<lang vb>'Sir, this is a script that could solve your problem.