{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Problemas Scheme (Filminas)

# Problemas Scheme (Filminas) - Ejercicios de Scheme Elas...

This preview shows pages 1–3. Sign up to view the full content.

Ejercicios de Scheme El í as Hern á ndez Ram í rez – A00798214 Determina si un n ú mero es positivo, negativo o cero: > (define (numeroPNZ N) (if (positive? N) "Es positivo" (if (negative? N) "Es negativo" (if (zero? N) "Es cero"))))

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Determina qu é  tipo de tri á ngulo es (is ó sceles, equil á tero o escaleno): > (define (triangulo a b c) (if (= a b c) "Es equilátero" (if (or (and (= a b) (or (< c a) (> c b))) (and (= b c) (or (< b a) (> b a))) (and (= c a) (or (< c b) (> c b)))) "Es isóselces" "Es escaleno")))
Predicado que determina si 3 lados corresponden a un tri á ngulo y a ñ adir validaci ó n a la  funci
This is the end of the preview. Sign up to access the rest of the document.
• Spring '10
• Conant
• Número negativo, Triángulo, Triángulo equilátero, Unidad de masa atómica, Justicia y Verdad, Recta de Euler

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern