Download a ZIP'ed copy of the Lab 13 projects and store it in the C:\FILES directory.
Go into the MS-DOS prompt and execute the following commands:
Funky4are set up to receive an array of integers and return a single integer. The first routine is already done. It adds up the elements of the array and returns the total.
|Adds all elements of the array and returns the total|
|Returns the largest element of the array|
|Returns the smallest element of the array|
|Adds all the even elements of the array and returns the total|
|Adds the smallest and largest elements of the array and returns their sum|
Funky4are set up to receive an array of integers. They return no values. The first routine
Funky0adds one to each element of the array.
|Adds one to each element of the array|
|Multiplies each element by three|
|Sets all array elements to zero|
|Sets the |
|Reverses the array, that is, switches the first and last elements, etc.|