1 D arrays :: problem set

  1. Sum 10 integer values in an array
  2. Double and triple the value of five integer numbers in an array.
  3. Count all names that begin the letter M in an array containing 10 names.
  4. Determine the average length of string elements in an array.
  5. Find the largest and smallest items in an array.
  6. Reverse the order of items in an array using two arrays (one temporary)
  7. Find the same element in two different arrays. Use a boolean variable as a flag. Make sure to include an element which would appear in both arrays
  8. Write 25 words from an array into a text file.
For answers to problem set click here