Question: Write a C program to prompt the user for 10 integers and read the 10 integers into an array, a. Your program should then [a]
Write a C program to prompt the user for 10 integers and read the 10 integers into an array, a. Your program should then [a] print the ten elements of the array on one line, and [b] determine and print on a new line the sum of the elements with odd indices, i.e., a[1] + a[3] + a[5] + .
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
