RosettaCodeData/Task/Multiplication-tables/EchoLisp/multiplication-tables.echolisp
2016-12-05 23:44:36 +01:00

11 lines
201 B
Text

(lib 'matrix)
(define (mtable i j)
(cond
((and (zero? i) (zero? j)) "😅")
((= i 0) j)
((= j 0) i)
((>= j i ) (* i j ))
(else " ")))
(array-print (build-array 13 13 mtable))