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.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment