1 D arrays :: problem set
- Sum 10 integer values in an array
- Double and triple the value of five integer numbers in an array.
- Count all names that begin the letter M in an array containing 10 names.
- Determine the average length of string elements in an array.
- Find the largest and smallest items in an array.
- Reverse the order of items in an array using two arrays (one temporary)
- 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
- Write 25 words from an array into a text file.
For answers to problem set click
here