Skip to content

Instantly share code, notes, and snippets.

View cindywu's full-sized avatar
🍍
i do not want to turn into dust, but into ashes instead

Cindy Wu cindywu

🍍
i do not want to turn into dust, but into ashes instead
View GitHub Profile
@cindywu
cindywu / crackle-pop
Created April 26, 2020 05:26
crackle-pop
(define count 1)
(define (crackle-pop count n)
(cond ((and (= 0 (remainder count 3))(= 0 (remainder count 5))) (display "CracklePop\n"))
((= 0 (remainder count 3))(display "Crackle\n"))
((= 0 (remainder count 5))(display "Pop\n"))
(else (display count)(display "\n")))
(if (> n count) (crackle-pop (+ count 1) n)))
(crackle-pop count 100)

Keybase proof

I hereby claim:

  • I am cindywu on github.
  • I am cindywu (https://keybase.io/cindywu) on keybase.
  • I have a public key whose fingerprint is 7FF7 97E2 A860 CCC4 2611 7B7B FD36 D4EE 837A 9972

To claim this, I am signing this object: