FIT2004: 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: Algorithms and data structures Assignment, MUM, Malaysia

School

Monash University Malaysia (MUM)

*We aren't endorsed by this school

Assignment Type

Individual Assignment

Subject

FIT2004: Algorithms and data structures

Uploaded by Malaysia Assignment Help

Date

28/05/2022

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

Get 30% Discount on This Assignment Answer Today!

Get Help By Expert

Assignment Help Malaysia offers affordable and effective solutions on  FIT2004: Algorithms and data structures assignments. Our writers have the relevant industry experience to write error-free answers on programming assignments at a budget-friendly price.

Answer

UP TO 15 % DISCOUNT

Instant Paper Writing Services by Native Malaysia Writers

Plagiarism Free Solutions
100% Original Work
24*7 Online Assistance
Native PhD Experts
Hire a Writer Now
Convincing Features
Plagiarism Free Report
On-Time Delivery
Native Writers
A+ Quality
100% Confidential
24*7 Online Assistance

Get these features included in Your Assignment

Get Assistance for Assignments, online Exam, and Projects Writing