you need to create a program the user can enter a word, reverse the word and check if the word is a palindrome word using a linked list. At the end of the program, it will list all of the palindrome words from the words entered.
The program must consist of the following method/function:
a) menu() β as an interface for the user
b) add_word(string) β to enter the word into the list
c) show_list() β to display the lists
d) reverse_word(string) β to reverse the word
e) palindrome(string) β to check if the word is a palindrome
f) palindrome_list() β to list all of the palindrome words
g) delete_list() β to delete list
For example, a segment of output:
How many words do you want to enter: 3
Please enter a word: kayak
Please enter a word: madam
Please enter a word: world
Reversed the word: kayak
Reversed the word: madam
Reversed the word: low
kayak is a palindrome word.
madam is a palindrome word
world is not a palindrome word.
List of the palindrome words: kayak, madam
SHN6023 : Mental Health, Resilience and Recovery Across the Life-course β Case Study Assignment
Read MoreBUS6009 : International Business Management β Written Case Report
Read MoreBUS6018 : PROJECT MANAGEMENT β PROJECT PLAN
Read MoreHCM4003 : Communication and Interprofessional Collaboration β Podcast
Read MoreQHO335 : Business Project β Critical evaluation of an organisationβs response during the cost-of-living crisis in the UK
Read MorePRM7006 : Management of Traditional Projects β PID Assignment
Read MoreBMA5108-20H : International Business β Strategic Evaluation
Read MoreCA5055 : Airline Revenue and Pricing Management β REPORT
Read MoreCA5056 Aviation Psychology and Human Factors Assignment brief
Read MoreHow can i assist with youGBEN5006 : Intrapreneurial Development β Portfolio
Read More