Untitled

Run Settings
LanguageClojure
Language Version
Run Command
(import java.lang.Integer) (defn print-stars [num-stars] (if (= num-stars 0) (println) (do (print "*") (print-stars (- num-stars 1))))) (defn star-game [] (println "How many stars would you like?") (def stars (Integer/parseInt (read-line))) (print-stars stars) (println "Would you like some more stars?") (def answer (read-line)) (if (not (.equals answer "yes")) (println "Tata for now") (star-game))) (println "What is your name, young child?") (def username (read-line)) (println "Ah, I see, your name is" username) (star-game)
Editor Settings
Theme
Key bindings
Full width
Lines