Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; Nombre:Alejando Duque
- ;; Fecha: 2 de septiembre de 2018
- ;; Contrato:numero, numero, numero, numero -> numero
- ;; Proposito:dados 4 numeros devolver una (/(a*b) (c+d)
- ;; Ejemplos:(define (operacion a b c d ) e))
- (define (operacion2 a b c d)
- (/(* a b)(+ c d)))
- ;; Pruebas:
- (check-expect(operacion2 1 2 3 4)0.285714)
- (check-expect(operacion2 5 6 7 8)2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement