Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun fizzbizz (x y n)
- (dotimes (i n)
- (if (= (mod (+ i 1) x) 0)
- (if (= (mod (+ i 1) y) 0) (format t "fizzBizz~%")
- (format t "fizz~%"))
- (if (= (mod (+ i 1) y) 0) (format t "bizz~%")
- (format t "~a~%" (+ i 1))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement