Question: ( please read the project carefully with the specific orders like using the pointers and use c language only and make the code as a
please read the project carefully with the specific orders like using the pointers and use c language only and make the code as a student level In this project, you will implement an application of Linked Lists: Radix Sort.
Your application should be able to build a level hierarchy for the Palestine and sort this
hierarchy alphabetically according to the district name from an input file using Radix Sort.
This should be done using a doubly implementation of the Linked List.
Assume the maximum length of the input string is characters; the input file ie
districts.txt would contain an unspecified number of strings. Each line should contain
the district name, the town name, the town population; the pipe symbol separates the
strings in each line, example:
Example of the Input File
After reading the strings successfully, your application should sort the districts using the
Radix Sort algorithm. And sorting the towns based on the population.
The user should be displayed a menu with the options necessary to run the program's
functionalities.
Hebron Dura
Hebron Halhul
Jenin Jaba
Jenin Yabad
Jenin Jenin
GazaJabalia
GazaBeit HanoonThe output file ie sorteddistricts.txt should contain one line for the district name
followed by the total population in that district, then list the names of towns and the
population in separated lines. Example of printing the sorted data:
Example of Output File
Your application should be able to show the following information through a proper
menu of the application:
Load the input file Palestinian districts and their town with population
Print the loaded information before sorting as in the input file format
Sort the districts alphabetically using Radix sort.
Sort the towns for each district based on population in ascending order.
Print the sorted information.
Add a new district to the list of sorted districts and sort the list
Add a new town to a certain district.
Delete a town from a specific district.
Delete a complete district; here, you must delete all towns belonging to that district
before deleting it
Calculate the population of Palestine, the max and min town population.
Print the districts and their total population without towns details
Change the population of a town, after prompting the user to enter the district name.
Save to output file.
Exit
Gaza District, Population
Beit Hanoon,
Jabalia,
Hebron District, Population
Halhul,
Dura,
Jenin District, Population
Jaba,
Yabad,
Jenin,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
