PasteRack.org
Paste # 26334
2017-03-21 12:40:49

Fork as a new paste.

Paste viewed 48 times.


Embed:

  1. #lang racket
  2.  
  3. (define (surfaceArea radius height)
  4.    (+   (* height circumOfCircle(radius))
  5.         (* 2(areaOfCircle radius))
  6.   ))
  7.  
  8. (surfaceArea 2 3)

=>

circumOfCircle: undefined;

 cannot reference an identifier before its definition

  in module: 'm