Question: Write a C program with the following features: 1) Create an array (named as arr1) with 100 integer elements from 1 to 100 2)

Write a C program with the following features: 1) Create an array

Write a C program with the following features: 1) Create an array (named as arr1) with 100 integer elements from 1 to 100 2) Find the summation (sum) of all the odd integers in arr1 3) Search for the even integers in arr1 and store them in a second array (arr2) 4) Output arr2 and sum

Step by Step Solution

3.38 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include stdio h int main int a101arr1arr2sumi fori0i 100 i arr1i... View full answer

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 Programming Questions!