Question: Use c programming NOT C++ Write a program as follows: Create a function (other than main function) that captures 10 numbers from user. Use an
Use c programming NOT C++
Write a program as follows: Create a function (other than main function) that captures 10 numbers from user. Use an array structure. Display all even numbers in a row, followed by odd numbers in another row. This function will then calculate the average of all 10 numbers and return back to main From main() Send the average to another function and double up the average value before sending back to main() for printing From main() Send the average to another function and triple up the average value before sending back to main() for printing Example output is shown below, user inputs are highlighted and BOLD This program is created to capture numbers in functions: Insert num: 2 Insert num: 4 Insert num: Insert num: 7 Insert num: 9 Insert num: Insert num: Insert num: 9 Insert num: 0 Insert num: 2 4 6 4 0 2 7.919 The average is 4.40 The double of 4.40 is 8.8 The triple of 4.40 is 13.2 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
