title: How do I print my procedure call in Scheme?
body: <p>I am trying to convert a C program to Scheme for an assignment I'm working on. The program is supposed to compute the area of a circle given the formal parameter (diameter, in this case). I think I have it figured out but I don't know how to print the actual value to verify it. I've tried just putting in the number into the print call. The way it is now is the method my book used. When I run the program with Dr. Racket I get:</p>
  
  <p>print: undefined;
  cannot reference undefined identifier</p>
  
  <pre><code>(define pi 3.14159265)
  (define test 5)
  (define (areac d)
    (lambda (d)
      (* pi (/ d 2) (/ d 2)
         )))
  
  (print (areac test))
  </code></pre>
  
  <p>Edit: Language is set to R5RS</p>