Answer to Question #4983 in C++ for Patty

Question #4983
If the user selects “m or M” then call a user-defined function average ( ) to find the
average of each row (following array) and print the results in this function. In your
program declare and initialize the following array. You must use the pointer notation
insider the user defined functions.
float array [5][2] = {{4.2, 55.6}, {9.3,8.1}, {234.3, 2.4}, {89.0, 234.4},
{33.2,432.0}};
• If the user selects “S or s” then prompt the user to enter number of names to be sorted
into a two dimensional array. You can store up to 20 names. Once you have this
number then you need to prompt the user to input names. These names could be in any
order. Your program has to sort them (by first name) in ASCENDING order. Once you
are done, you need to clear screen and print the result. Your first output should be the
original set of names (unsorted), then followed by second set of your output (sorted
names).
1
Expert's answer
2012-06-08T09:47:46-0400
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS