if and cond

cond on city names.

cond on city names.

Goal

Label capital vs coast vs other.

(define units 12)
(print (if (>= units 10) "busy" "quiet"))
(define city "Mombasa")
(print
 (cond
  ((string=? city "Nairobi") "capital")
  ((string=? city "Mombasa") "coast")
  (else "other")))
(print (if #f "yes" "no"))
(define n 0)
(print (if (zero? n) "empty till" "open"))