Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program in C to store 20 constant strings as English words, and 20 strings as synonyms / similar meaning, Display all English words

Write a program in C to store 20 constant strings as English words, and 20 strings as synonyms / similar meaning, Display all English words on screen and ask from user which word's meaning he wants to see?

Display the one (1) synonym for each word which asked by the user on a separate line using graphics (5)

e.g

ENGLISH WORDS
1. HELP 2. SUPPORT 3. DISMAL 4. ABHORANCE 5. ADORABLE 6. MARGINAL 7. CREATIVE 8. RUSTY 9. SHY 10. ABIDE
11. ABODE 12. ABSOLUTE 13. ABNORMAL 14. POLARITY1 15. EXPLORE 16. VERGINE 17. GENETIC 18. RESPIRATION 19. COLONY 20. COMMUNITY

Enter word to see the meaning : HELP Synonym of HELP is: Ameliorate You want to see another word (Y/N) : Y If user press Y then continue the program for asking another word , otherwise exit the program 1. Graphics, show data in table and convert user input into upper case / capital letters, does not matter if user inputs in capital or small 2. Do not display all synonyms on screen, except the word asked by the user. 3. You can change the collection of words according to your convenience but words should be ethical and displayable.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions