CS 178 Programming with Multimedia Objects

Array Example: Simple array operations (Once more !)

For use during Lecture on October 13, 2004

What will you learn (in addition to what you already know about applets):

  • How to perform simple array operations:
    • Array initialization
    • Finding the sum of array elements.
    • Finding the min and max amongst all elements in an array.
    • Adding elements to an array.
    • Sorting in acsending and descending order.

Array: simple operations (Source).

Prepared by: Aditya Mathur, Oct 13, 2004