Question: Use Scheme construct and the EOPL extention In the questions below you are asked to write a function/procedure in Scheme to implemert some behavior. To
In the questions below you are asked to write a function/procedure in Scheme to implemert some behavior. To do so you may need to include auxillary functions/procedures. Include these with your answers. You may only use Scheme constructs and the EOPL extensions that have been presented in class. Put the answers to these questions in a single file. Tar or zip the file and submit the tar file to the submission system. Put a comment header in the file with your name, course number, and date. 1. (10 points) Given a list of integers, write a function that returns the sum of these inte- gers. We define the sum of the empty list to be 0 (zero). length (1st) down to 1. For example Given: (10 20 30 40 50) 2. (10 points) Given a list of integers 1st, write a function that returns a list with entries Return: (5 432 1) The empty list returns the empty list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
