Question: Write a procedure called SCHEDULE takes a weekday as argument and retrieves a list of your commitments on that day. The procedures prototype is: (defun
Write a procedure called SCHEDULE takes a weekday as argument and retrieves a list of your commitments on that day. The procedures prototype is: (defun schedule (day) Your code goes here )
Sample Run:
[1] >(load yourFAUID.lisp) [2] >(schedule 'monday) ((VECTOR-CALCULUS "9:30-11:00") (PHYSICS "11:00-12:00") (PHYS-ED "3:00- 4:00")) [3]> (schedule 'tuesday) ((ECONOICS "10:00-11:00") (PHYSICS-LAB "5:30-7:00")) [4]> (schedule 'wednesday) ((VECTOR-CALCULUS "9:30-11:00") (PHYSICS "11:00-12:00") (PHYS-ED "3:00- 4:00")) [5]> (schedule 'thursday) ((ECONOMICS "10:00-11:00")) [6]> (schedule 'friday) ((VECTOR-CALCULUS "9:30-11:00") (PHYSICS "11:00-12:00") (PHYS-ED "3:00- 4:00")) [7]> (schdule 'saturday) nil [8]> (schedule 'sunday)
NIL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
