Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
13
Task/Babbage-problem/Amazing-Hopper/babbage-problem.hopper
Normal file
13
Task/Babbage-problem/Amazing-Hopper/babbage-problem.hopper
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <basico.h>
|
||||
|
||||
algoritmo
|
||||
decimales '0'
|
||||
número = 0, i=10
|
||||
ciclo:
|
||||
iterar grupo( número+=2, \
|
||||
#( (número^2) % 1000000 != 269696 ), ; )
|
||||
imprimir ("The smallest number whose square ends in 269696 is: ",\
|
||||
número,\
|
||||
"\nIt's square is: ", #(número ^ 2), NL )
|
||||
i--, jnz(ciclo)
|
||||
terminar
|
||||
Loading…
Add table
Add a link
Reference in a new issue