Question: c++ for each option do a function In your main function, read 7 names from the user (using a matrix) and display the following list

 c++ for each option do a function In your main function,

c++

for each option do a function In your main function, read 7 names from the user (using a matrix) and display the following list of options to the user: 1. The average name length in the matrix 2. The median name length of all the names in the matrix 3. Concatenate two strings: the user enters the matrix row numbers of the names he wants to concatenate, the program concatenates the desired strings if the destination string has enough space for the concatenation, it displays the message "No enough memory for concatenation" otherwise. 4. The list of names in alphabetical order Note : that the values given by all the functions (average, median......) will be changed after any concatenation, so whenever the user chooses a certain option, it must be recomputed. for each option do a function In your main function, read 7 names from the user (using a matrix) and display the following list of options to the user: 1. The average name length in the matrix 2. The median name length of all the names in the matrix 3. Concatenate two strings: the user enters the matrix row numbers of the names he wants to concatenate, the program concatenates the desired strings if the destination string has enough space for the concatenation, it displays the message "No enough memory for concatenation" otherwise. 4. The list of names in alphabetical order Note : that the values given by all the functions (average, median......) will be changed after any concatenation, so whenever the user chooses a certain option, it must be recomputed

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!