Question: Odd-Even Ten Write a C program odd_even_ten.c which reads 10 integers from standard input, prints the odd numbers on one line, then prints the even

Odd-Even Ten Write a C program odd_even_ten.c which reads 10 integers from standard input, prints the odd numbers on one line, then prints the even number on one line You may assume that the program's input will contain only positive integers and will contain at least 10 integers, in other words you can assume sca succeeeds Match the the example below EXACTLY. ? dcc odd_even_ten.c-o odd_even_ten ? ./odd even_ten 4 6 8 6 Odd numbers were: 3 5797 5 Even numbers were: 4686 ? ./odd_even_ten 2 4 16 32 64 128 256 512 1024 Odd numbers were: 1 Even numbers were: 2 4 16 32 64 128 256 512 1024
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
