One-Dimensional Arrays
Exercises
- Count positive and negative values in an array of 10 integers.
- Read an array and print its elements in reverse order.
- Calculate the sum of array elements.
- Calculate the average of array elements.
Click here for explanation and solution.