Advertisement
DavidArce

Untitled

Dec 7th, 2020
1,697
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Racket 0.29 KB | None | 0 0
  1. ;Autor: David Arce
  2. ;Fecha de creación: 7/12/2020
  3. ;Contrato: areaCirculo:numero,numero,numero->numero
  4. ;Proposito:Este programa recibe 1 numero (radio) y retorna la multiplicacion de pi*radio^2
  5. ;Ejemplo
  6. (areaCirculo 23) 529pi
  7. ;Definicion
  8. (define (areaCirculo r)(* pi (sqr r)))
  9. ;Pruebas
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement