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

"first"

Name: Anonymous 2011-08-22 1:04

fun "first" language to learn.

I say first because I took C++ in highschool and enjoyed it, and I wanted to try common lisp but I'm not certain if its supposed to be a joke or not.

any help would be nice.

Name: Anonymous 2011-08-24 2:37

>>61
Use code tags
Also, some newlines might make it a little more clear
Also, you have mismatched parenthesis

(define a 15)
(define b 20)
(define c
  (if (< a 10)
    a
    (if (> a 12)
      (* a b)
      0
    )
  )
)

The last zero is the else block for the second if.

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