title: Nested If/Cond Scheme
body: <p>I'm having a hard time getting a simple nested if statement to work. I have two functions divisible2? and divisible3? and I want to see if a certain number - n is divisible by both 2 and 3. Here's what I have so far:</p>
  
  <pre><code>(define (divisible2? x)
    (zero? (remainder 2 x))) ;
  
  (define (divisible3? x)
    (zero? (remainder 3 x))) ;
  
  (define (div23 n)
    (if (divisible2? n)
      (if (divisible3? n)) #t (#f))
   )
  </code></pre>
  
  <p>Thanks</p>