Why is this outputting Buzz when I have two statements?

后端 未结 0 1335
萌比男神i
萌比男神i 2021-02-03 17:12
(define (fizzbuzz x)
  (if (= x 3) display "Fizz")
      (= x 5) display "Buzz")

Output:

(fizzbuzz 3)
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题