3. Read in a series of integers and store the inputs in an array and then calls the RemoveEvens() function which takes three parameters: the array size and two integer arrays:


3. Read in a series of integers and store the inputs in an array and then calls the<br>RemoveEvens() function which takes three parameters: the array size and two integer<br>arrays:<br>

Extracted text: 3. Read in a series of integers and store the inputs in an array and then calls the RemoveEvens() function which takes three parameters: the array size and two integer arrays:
int RemoveEvens (int arraySize, int numberArray[], int<br>oddNumberArray[]);<br>Function RemoveEvens() should fill the second array with the odd elements of the first<br>array and return the number of elements in the second array. The odd elements should<br>be printed out with commas separating them.<br>Example:<br>Input: 1, 2, 3, 4, 5, 6, 7, 8, 9<br>Output: 1, 3, 5, 7, 9<br>Input: 1, 9, 3<br>Output: 1, 9, 3<br>

Extracted text: int RemoveEvens (int arraySize, int numberArray[], int oddNumberArray[]); Function RemoveEvens() should fill the second array with the odd elements of the first array and return the number of elements in the second array. The odd elements should be printed out with commas separating them. Example: Input: 1, 2, 3, 4, 5, 6, 7, 8, 9 Output: 1, 3, 5, 7, 9 Input: 1, 9, 3 Output: 1, 9, 3

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here