Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

IN c++ I want to make word chain(Type a word to end it). If it does not match the word already entered, check it out.

IN c++

I want to make word chain(Type a word to end it). If it does not match the word already entered, check it out. Exclude duplicate words. If you type end, you end the input and in turn write the words you type

required position

:

1) Input by keyboard and output to monitor

2) Input words are stored in dynamic allocation according to their length.

3) Check well for overlapping words and ending words

4) Must be able to output all input words at the end

5) Maximum number of words that can be input is limited to 100

show like these :

Enter a word: apple

Enter a word: elephant

Enter a word: tiger

Enter a word: rabbit

Enter a word: tiger

#already used!

Enter a word: pineapple

#wrong word!

Enter a word: tomato

Enter a word: end

apple elephant tiger rabbit tomato

**becasue tiger finish R fineapple start F , as a result #wrong word

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

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

Define a companys operating cycle.

Answered: 1 week ago

Question

3. What may be the goal of the team?

Answered: 1 week ago

Question

Is how things are said consistent with what is said?

Answered: 1 week ago