Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

First homework of new year!!

Name: Anonymous 2010-01-01 23:19

Let X be an integer.

1) Read in integer X from standard input
3) Let Y be X multiplied by 2
4) output "SUSSMAN!!!!!!" Y times

Name: Anonymous 2010-01-02 12:50

(use-modules (ice-9 readline))
(let loop ((n (* 2 (string->number (readline)))))
  (if (> n 0)
    (begin
      (display "SUSSMAN!!!!!!\n")
      (loop (- n 1)))))


first scheme program evar, true fact

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List