Question: 4. Write a user-defined function inputData to take 15 students' names and total marks from user input. Print students names here and pass total

4. Write a user-defined function inputData to take 15 students' names and

4. Write a user-defined function inputData to take 15 students' names and total marks from user input. Print students names here and pass total marks to OddCal and evenCal functions dd or cr rk as do Write a function oddCal to calculate odd numbers and store them in an array. Return the result to the main function ents Write another function evenCal to calculate even Numbers and store them in an array.Return the result to the main function. Finally, print the odd and even from the main function. (10)

Step by Step Solution

3.55 Rating (172 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include include include include include include include using namespace std define NOOFSTU... View full answer

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 Programming Questions!