Question: Program must be done in C Write a C program (no function needed) that defines an array that can hold 10 ints. Use a loop

Program must be done in C  Program must be done in C Write a C program (no

Write a C program (no function needed) that defines an array that can hold 10 ints. Use a loop to allow the user to enter 10 integers and store them in the array. Count the number of even and odd numbers entered and print the results. Sample Run: Enter int: 13 Enter int: 2 Enter int: 4 Enter int: 55 Enter int: 43 Enter int: 98 Enter int: 12 Enter int: 32 Enter int: 43 Enter int: 1 You entered 5 even and 5 odd numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!