Question: This assignment is a practice using C-string functions. Dictionary is a tool that everyone uses. If I wanted to exam every word in the English
This assignment is a practice using C-string functions.
Dictionary is a tool that everyone uses. If I wanted to exam 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 oPrint the word and its vowel count and the word count
Loop this process for all words in the data filethe word.
Part I: create a dictionary
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 The count of the words in the definition The count of vowels in the word itself Print the word and its vowel count and the word count - Loop this process for all words in the data file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
