Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please solve it ASAP solve it quickly to upvote you directly Write a C program to build a simple dictionary. You are required to read
please solve it ASAP solve it quickly to upvote you directly
Write a C program to build a simple dictionary. You are required to read the words and its relevant meaning from a file named inputWords.txt. As well as, the user should be able also to insert new words into the dictionary with their relevant meaning. As well as, provide the user to search for a specific word or search the dictionary with all words that start with a specific character. Use the attached file as input file. Hint: you may use the following concepts in C: struct, array, switch, functions, loops, string, read/write from/to file Please use the following format for inputs WordNo. Word: meaning Example 36. Pleasure: a happy feeling The program interface should be similar to this Please select an option 1- Read File and build the dictionary 2- Search for a specific word 3- Search for all words that start with a character 4- Insert new word to the dictionary 5- Save the dictionary back to the file 6- Exit i%^. l. I. SVE AP:{T inputWords.txt 1. foe: enemy 2. vast: huge 3. purchase: buy 4. drowsy: sleepy 7. feeble: weak 8. annual: yearly 5. absent: missing 6. prank: trick 9. sturdy: strong 10. reply: answer 11. voyage: trip 12. shiver: shudder 13. slumber: sleep 14. meadow: field 15. banner: flag 16. loyal: faithful 17. ill: sick 18. vacant: empty 19. stalk: stem 20. wild: untamed 21. slosh: splash 22. frayed: worn 23. overcast: cloudy 24. mammoth: large 25. furious: angry 26. assist: help 27. task: job 28. bother some: annoying 29. lurk: wait 30. orbit: circle 31. deep: many feet of water 32. shallow: not much water 33. flexible: bends easily 34. rigid: stiff 35. pain: what you feel when something bad happens 36. pleasure: a happy feeling 37. repair: fix 38. break: shatter 39. infant: baby 40. adult: grownup 41. bright: light 42. neat: tidy 43. dim: not much light 44. sloppy: messy 45. gracious: polite 46.attic: at the top of the house 47. cellar: at the bottom of the house 48. rude: not polite 49. borrow: you get something 50. lend: to give something 51. birdbath: bath for birds 52. eyelid: protects your eye 53. waterfall: when water drops over a cliff 55. lunchtime: middle meal of the day 54. keyboard: part of a piano that you play 56. hairbrush: what you use to brush hair 57. springboard: flexible board to jump from 59. rainbow: a band of colors 58. scorekeeper: someone who keeps score 60. catfish: a fish with whiskers 61. beehive: where bees make honey 62. sandbox: where kids play with sand 63. hillside: steep, sloping land 64. spaceship: what an astronaut rides in 65. applesauce: made when cooking apples 66. homework: assignment done at home 67. crosswalk: where you should cross street 68. railroad: what trains travel on 69. turtleneck: a long neck 70. rowboat: small boat moved by rowing 71. fur: covering of most animals 73. principle: a rule 72. fir: a kind of evergreen tree 74. principal: the head of a school 75. paws: feet 76. pause: take a break 77. wail: cry 78. whale: a large animal living in the sea 79. berry: a fruit 80. bury: to cover up 81. stake: a stick that you hammer into ground 82. steak: meat you eat 83. peak: top of a mountain 84. peek: to look 85. council: a group of people making plans 86. counsel: to give advice 87. ant: an insect 88. aunt: female relative 89. threw: past tense of throw 90. through: from here to there 91. dove: bird/past tense of dive 92. record: to write down/something important 93. live: living/to dwell 94. lead: to be at the beginning/a type of metal 95. wind: air that moves/to turn 96. grandchildren: children of your children 97. echoes: repeated sounds 98. halves: two equal parts 99. geese: large birds that make honking sound 100. mysteries: things that are secret or hard to explain 101. oxen: large farm animals in the cattle family 102. sketches: quick drawings 103. feet: at he end of our legs 104. sheep: animals whose fur is used for wool 105. coast: land along the sea 106. host: one who gives the party 107. limb: a branch of a tree 108. fern: a kind of plant 109. glee: joy 110. yearn: to really long for something 111. plea: to beg for something 112. shriek: a loud sound 113. creek: a smaller, moving body of water 114. moose: a large animal with antlers 115. chipmunk: a small animal resembling a squirrel 115 nondi mada flor winter 117 lindar artan. hafors 1+ III >
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started