Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in C++ Write a program that employs the four letter word dictionary to check the spelling of an input word (test word). You will need

in C++

Write a program that employs the four letter word dictionary to check the spelling of an input word (test word). You will need to save the dictionary file (Located on the Data Canvas Page) to a folder on your computer. For this program you will prompt the user to enter a four letter word (or four characters). Then using a loop read each word from the dictionary and compare it to the input test word. If there is a match then you have spellchecked the word. Write a message to the screen indicating that the word was spelled correctly. If you do not find the word in the dictionary (no match) then write a message to the screen indicating that the test word is not spelled correctly. Show output for the following test words: bird, lake, zoom, and xxyt.

NOTE: You may use a loop to repeatedly test a series of words if you like instead of running the program four separate times. If you do this you will need to reset the dictionary file after each word.

dictionary: http://uahcs.org/CS121/data/dictionary_four_letter_words.txt

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

Does it exceed two pages in length?

Answered: 1 week ago

Question

Does it avoid typos and grammatical errors?

Answered: 1 week ago