practice_C

One-Dimensional Arrays

Exercises

  1. Count positive and negative values in an array of 10 integers.
  2. Read an array and print its elements in reverse order.
  3. Calculate the sum of array elements.
  4. Calculate the average of array elements.

Click here for explanation and solution.