Comprueba si hay errores en este problema de palabras: calc-pencils
Direcciones: All students are given five (5) pencils at the beginning of the school year.
Write a function called calc-pencils that takes the number of students in the school and
calculates the number of pencils needed for that school.
Declaración de contrato y propósito
Todo contrato tiene 3 partes...
;calc-pencils:number→number
; Takes a number of students and gives the number of pencils
Ejemplos
Escribe algunos ejemplos, luego circula y marca los cambios...
(Ejemplo (calc-pencils100)(* 100 5)
(Ejemplo (calc-pencils40)(* 40 6)
Definición
Escribe la definición, nombres de variables a todos sus valores de entrada...
(define (calculate-pencilsp)(* p 5))