Search found 1 match
- Fri Nov 09, 2018 10:12 am
- Forum: Homework
- Topic: Add 1 to the middle element of a list
- Replies: 2
- Views: 34950
Add 1 to the middle element of a list
Hi. Can I please get some help? "Write a function MID-ADD1 that adds 1 to the middle element of a three-element list. For example, (MID-ADD1 ’(TAKE 2 COOKIES)) should return the list (TAKE 3 COOKIES). Note: You are not allowed to make MID-ADD1 a function of three inputs. It has to take a sing...