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
|University||Monash University Malaysia (MUM)|
|Subject||FIT2004: Algorithms and data structures|
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 Solution of this Assessment. Hire Experts to solve this assignment for you Before Deadline.
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.
Recent Solved Questions
- MPU3122: Kenal pasti pengaruh perkembangan Teknologi Maklumat dan Komunikasi yang dibawa oleh video tersebut: Tamadun Islam Dan Tamadun Assignment, OUM, Malaysia
- The entire organization or One unit of the organization or One major long-term financial and strategic investment: Managerial Finance Course Work, MUS, Malaysia
- System Auto is a premier enterprise software company offering multiple products at scale both in the enterprise arena: Diploma in Network Technology Assignment, UCISS, Malaysia
- Explain in your own words, the role that an Advocate & Solicitor has in the resolution of a dispute: Ethics Essay, UTHM, Malaysia
- It is commonly assumed that GREs produce scores with a mean of 500 In October 2020 the mean verbal score of 5701 Malaysian students: Statistics Assignment, UM, Malaysia
- To examine the relationship between Services Quality and customer satisfaction in the Johor Bharu property industry: Business Research Thesis, SUT, Malaysia
- The primary purpose of this research is to examine the relationship between employee perception: Employee Acceptance Towards E-HRM: Electronic Human Resource Management Dissertation, APU, Malaysia
- Water supply requires enormous amounts of energy to supply water at the right quality, quantity, and pressure: Environmental Technology and Management Essay, UKM, Malaysia
- Identify the five modes of transportation and what are the advantages and disadvantages: Logistics and Transportation Assignment, MISI, Malaysia
- PPH10302T: Calculate the quantity of medication needed to be dispensed for the patient and How much should the patient be charged by the cashier: Pharmacy practice I Assignment, MSU, Malaysia