Download a ZIP'ed copy of the Lab 14 projects and store it in the C:\Files directory.
Use PowerZip to extract the files to the C:\Files directory. This should create a C:\Files\lab14 directory with two subdirectories, Operate and Modify
Function | Operation |
---|---|
Funky0 | Adds all elements of the array and returns the total |
Funky1 | Returns the largest element of the array |
Funky2 | Returns the smallest element of the array |
Funky3 | Adds all the even elements of the array and returns the total |
Funky4 | Adds the smallest and largest elements of the array and returns their sum |
Function | Operation |
---|---|
Funky0 | Adds one to each element of the array |
Funky1 | Multiplies each element by three |
Funky2 | Sets all array elements to zero |
Funky3 | Sets the i'th array element to i |
Funky4 | Reverses the array, that is, switches the first and last elements, etc. |