Question: This is in C++. Instructions DESIGN and write a program that gets input from the user for contents of a dictionary. The program must contain

This is in C++. Instructions DESIGN and write a program that getsThis is in C++.

Instructions DESIGN and write a program that gets input from the user for contents of a dictionary. The program must contain at least two functions: one for inputting the user data and one for outputting the user data. The user specifies the number of dictionary terms and the program must ask the user for each term/definition pairing. The program must be able to store the terms in memory and output each term/definition. The program must: 1. 2. Ask the user for number of dictionary entries. For each new entry: a. b. c. d. Ask the user for the word. Ask the user for the definition. Store the word in one array. Store the definition in the other array. 3. 4. Output all the dictionary entries that were stored. Clean up memory and exit. Things to consider: 1. 2. 3. 4. 5. How will you make sure one array is just as long than the other? How would you pass each array to the two functions? How to print out each term next to definition on the same line? How would you ensure that the array can handle any amount of terms entered? What if the user entered "O" for the number of terms and definitions? Requirements: This program MUST be able to support any amount of user input. This program MUST NOT use any of the Standard Template Library members (i.e. vectors, lists, maps etc.) The string library CAN be used in this program (and highly encouraged!) 1. 2. 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!