Babbage problem: Difference between revisions

m
Line 1,122:
Its square is: 638269696</pre>
 
=== (Almost) Lisp ===
 
==== Note ====
''Write code that Babbage himself would have been able to read and understand.''
 
==== Note ====
 
[[File:Babbage Sign Language.jpg|thumb|
 
Babbage sign language]]
 
''Write code that Babbage himself would have been able to read and understand.''
 
Charles Babbage is familiar with symbol manipulation and low level programming. We introduce variable assignment (<-), conditional statement (=>) and jump (go).
Line 1,136:
==== Program ====
 
<syntaxhighlight lang="lisp">;;(load 22"blackbox.12.24lisp")
 
(load "blackbox.lisp")
 
(card answer
422

edits