Question: (In C Programming) Write a program that reads 5 integers from standard in, and write either an O (for an odd) or an E (for
(In C Programming) Write a program that reads 5 integers from standard in, and write either an O (for an odd) or an E (for an even number) with each character on its own line.
You can create as many functions as you like. However no single function (including main) can have more than 3 semicolons (";") in it. If you violate this rule, you will receive a zero on this assignment.
Example Input:
6
10
3
3
9
Correct Output:
E
E
O
O
O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
