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 (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
include stdio h int main int a101arr1arr2sumi fori0i 100 i arr1i... View full answer
Get step-by-step solutions from verified subject matter experts
