Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands On Database

Authors: Steve Conger

1st Edition

013610827X, 978-0136108276

More Books

Students also viewed these Databases questions

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago