Question: Programming language c++ Part 2 2D Processing Part 2 will have you doing the single dimensional operations to a 2D array of strings. Write a

Programming language c++

Part 2 2D Processing

Part 2 will have you doing the single dimensional operations to a 2D array of strings.

Write a void function to drive Part 2. 

Part 2 starts by asking the user to input 10 strings of size no larger than 15 characters.

Each of these string will be put in a row of their own in a 2D character array. Remember to end each row with a \0.

After you have received the inputs output the strings to confirm they were inputted correctly.

Give the user a menu of options to process the array:

1. Check frequency of a letter 2. Remove a letter

Apply the operation the user selects to ALL of the strings in the 2D array. Each time an operation finishes output the results for each row.

NOTE if you coded part 1 correctly, this section can and will make use of the exact same functions you coded earlier!

From Main Menu User chooses 2:

Choose an option: 2 
Enter string 1: testing Enter string 2: apple Enter string 3: document Enter string 4: computer Enter string 5: science Enter string 6: banana Enter string 7: orange Enter string 8: sugar Enter string 9: classes Enter string 10: fancy 
What would you like to do? 

Check frequency of a letter

Remove a letter

>>?

User chooses 1: >>? 1 
What letter? a testing - 0 apple - 1 document - 0 computer - 0 science - 0 banana - 3 orange - 1 sugar - 1 classes - 1 fancy - 1 
User chooses 2: >>? 2 What letter? a testing 
pple document computer science bnn ornge sugr clsses fncy 

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!