( Posting Again , I hope I will get full and correct Answer this time. PLease Gi
ID: 3837732 • Letter: #
Question
( Posting Again , I hope I will get full and correct Answer this time. PLease Give me answer in JUST C++ launguage , this is very important final project question , please give me FULL answer)
Write a complete program to hash a list of 200 words to a hash table using linear probing and a 70% load factor. Print the table. Give the number of probes for each word and the average number of probes to search for each word. The program should allow the user to interact with the program until the user wishes to stop. The user should be allowed to delete a word, search for a word and give the number of probes to find that word. The program shou1d rehash all words if 10% (20) of the words are deleted. The program should print the table every time it hashes/rehashes the words.
You are to create a Word Dictionary that contains 200 words – You can read from any document to get the words (cannot contain: common words, contain numbers, duplicate words) Your input file (a separate program) is the following - You are to create NumberWord list that takes the words in the Word Dictionary and converts them to numbers using ascii values. Each letter of the word is given a numeric value from the asci table (all letter should be converted to lowercase).
Hash each word to a hash table using linear probing and a 70% load factor for full credit, you must
Use functions
Use header files to hold all function definitions
The program will rehash if 10% or more of the words are deleted
Should catch the following errors:
Word not in the list
A word that is supposed to be in the list but was deleted and there is no holding spot to designate that the word has been deleted
Try/catch for input and output files
Should give the number of probes to search and locate all the words in the Word List
The end user should be able to
to delete word(s)
search for a word