narenarya

clojure console input

Mar 31st, 2015
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (do (println "Enter a number")
  2.         (let [num (read-string (read-line))]
  3.             (println (str "you" "entered" num))
  4.         )
  5.      )
Advertisement
Add Comment
Please, Sign In to add comment