Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program in Common LISP, which 1) takes as input a phrase as a list, with each word in the phrase as a sublist
Write a program in Common LISP, which
1) takes as input a phrase as a list, with each word in the phrase as a sublist of the list. For example: ((G O O D) (T I M E S)).
2) Shift each letter to the next letter in the alphabet. For example, A = B, D = E, Z = A etc.
3) Output the result as a string, not a list. "HPPE UJNFT"
4) Inputs the shifted phrase as a list into a function to return back to its orignal form ( (H P P E) (U J N F T) )
and,
5) Output the result as a string, not a list "GOOD TIMES"
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started