Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,15 +1,15 @@
|
|||
PROGRAM "Babbage problem"
|
||||
VERSION "0.0000"
|
||||
PROGRAM "Babbage problem"
|
||||
VERSION "0.0000"
|
||||
|
||||
DECLARE FUNCTION Entry ()
|
||||
|
||||
FUNCTION Entry ()
|
||||
number = 524
|
||||
DO
|
||||
number = number + 2
|
||||
LOOP UNTIL ((number ** 2) MOD 1000000) = 269696
|
||||
PRINT "The smallest number whose square ends in 269696 is: "; number
|
||||
PRINT "It's square is "; number ** 2
|
||||
PRINT "It's square is "; number * number
|
||||
number = 524
|
||||
DO
|
||||
number = number + 2
|
||||
LOOP UNTIL ((number ** 2) MOD 1000000) = 269696
|
||||
PRINT "The smallest number whose square ends in 269696 is: "; number
|
||||
PRINT "It's square is "; number ** 2
|
||||
PRINT "It's square is "; number * number
|
||||
END FUNCTION
|
||||
END PROGRAM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue