Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
7
Task/Babbage-problem/QBasic/babbage-problem.basic
Normal file
7
Task/Babbage-problem/QBasic/babbage-problem.basic
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
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
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue