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
- I just need to make an app that functions like Tinder but instead of female and male and I want it to be for students looking: Mobile app Development Assignment, UCISS, Malaysia
- Trendy is a new line of skin-care products which use seeds, flowers and fruits as the main ingredients: ENGLISH Assignment, OUM, Malaysia
- You and your group of friends have recently decided to launch a startup company: Database Systems Report, MMU, Malaysia
- TBE 101/03: Metals are commonly employed in the building and construction industry due to their inherent qualities: Building Materials Report, WOU, Malaysia
- BM6023: As the millennium began, the future for Krispy Kreme Doughnuts, Inc., smelled sweet Not only could the company boast iconic status: Managerial Accounting & Finance Case Study, HWU, Malaysia
- MKT539: Product Strategy Features, Quality, Style and Design, Packaging and Labelling, After marketing: Brand Management, Report, BCU, Malaysia
- BSL305 :In order to obtain the funds necessary to expand its business, Capital Ltd will undertake a $12M capital raising: Company Law Assignment, MU, Malaysia
- ITC101: How will leaders shape the post-coronavirus business world: Information Technology for Business Assignment, HU, Malaysia
- 380CT: You are assigned to the problem stated above and you are required to develop a computer program to try and solve it: Theoretical Aspects of Computer Science Assignment, CU, Malaysia
- Relationships Between Supervision and Teachers’ Performance and Attitude in Secondary Schools in Malaysia: Educational Leadership and Management Assignment, UON, Malaysia