Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Autor: Daniel Alvarez
- ;Fecha de creacion: 3 de septiembre
- ;Contrato: numero numero numero numero -> numero
- ;Proposito: recibir 4 numeros y retorna la operacion a * b / c + d
- ;Ejemplos: (f 3 2 1 5) -> 1
- ;Pruebas:
- (check-expect (f 3 2 1 5) 1)
- ;Definicion
- (define (f a b c d) (/ ( * a b)(+ c d)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement