Write a program to ask the user to enter n size of elements. With the given n size of elements, allocate a block of memory to create a single dynamic array using malloc(). Enter the n integer elements. However, make sure that each integer element is checked first if it is even integer before it is added into the array; otherwise, ignore it. When the n integer elements are already in the array, access all the elements and find the sum. Display all the elements and the sum of all the elements.
Answers
Answered by
0
Answer:
I said," My friends are very helpful to me ."
Similar questions