Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Babbage-problem/Gambas/babbage-problem.gambas
Normal file
10
Task/Babbage-problem/Gambas/babbage-problem.gambas
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Public Sub Main()
|
||||
Dim iNum As Long
|
||||
|
||||
For iNum = 1 To 100000
|
||||
If Str(iNum * iNum) Ends "269696" Then Break
|
||||
Next
|
||||
|
||||
Print "The lowest number squared that ends in '269696' is " & Str(iNum)
|
||||
|
||||
End
|
||||
Loading…
Add table
Add a link
Reference in a new issue