I have to write a procedure (cube-two X Y) that takes two numeric arguments
and returns a list of their cubes.



So far I have...



(define cube(lambda(x)(* x x x)))...which takes ONE numeric arguments...example 
below...



(cube 3) ==> ( 27)



How could I make it to take two numeric arguments?



For instance...



(cube-two 1 4)  ==> (1  64)
(cube-two 2 5)  ==> (8  125)

____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to