Question: This assignment is a practice using C-string functions . Dictionary is a tool that everyone uses. If I wanted to examine every word in the

This assignment is a practice using C-string functions.

Dictionary is a tool that everyone uses. If I wanted to examine every word in the English language along with its unique primary definition, and then be able to look up a word's definition if given the word to look up. Furthermore I would like be able to print out that dictionary in a sorted list of words with each word's definition on the same line as the word.

Part I: create a dictionary with at least 50 words along its unique primary definition. One example is: Obliterate destroy utterly Announcement a public and typically formal statement about a fact, occurrence, or intention. The first line is the word and second line is the definition of the word. Save the file as dictionaryFirstNameLastName.dat

Part II: Write a C program that will

Read the file and store one word and its definition

Determine

o The count of the words in the definition

o The count of vowels in the word itself

o Print the word and its vowel count and the word count

Loop this process for all words in the data file

A sample output should be:

Word Definition Vowel Count Definition Word count

-------- ------------------------- ----------------- ------------------------------

Obliterate destroy utterly 5 2

Announcement A public and typically 6 12

formal statement about a

fact occurrence, or intention.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!