# Create your own assignment

This is going to be a create your own assignment to get more practice with arrays. Listed below are twenty seven functions you can write that deal with arrays. Listed next to each function is a number of points each is worth in parenthesis. You must choose enough functions to add up to 15 points! You can choose to do more, but you will only get up to 15 points for this assignment.

For each of the following:

-You must create a function that carries out the desired action. Please keep in mind that printing should not be done in your functions!

-You should provide enough code in main to test each of your functions. You may use prepopulated arrays in main to pass into each of your functions, and you can print them out in main (or write an array printing function!)

Anyone who successfully completes and demonstrates ALL 27 functions will receive 15 extra credit points on this assignment (30/15).

(1) Find the minimum element in an array.

(1) Find the maximum element in an array.

(4) Display all the elements of an array that are prime.

(2) Join two arrays together to one larger array.

(3) Count the number of elements in an array that are larger than a given number.

(3) Count the number of elements in an array that are smaller than a given number.

(1) Add two arrays, store result in a third array.

For each of the following:

-You must create a function that carries out the desired action. Please keep in mind that printing should not be done in your functions!

-You should provide enough code in main to test each of your functions. You may use prepopulated arrays in main to pass into each of your functions, and you can print them out in main (or write an array printing function!)

Anyone who successfully completes and demonstrates ALL 27 functions will receive 15 extra credit points on this assignment (30/15).

(1) Find the minimum element in an array.

(1) Find the maximum element in an array.

(4) Display all the elements of an array that are prime.

(2) Join two arrays together to one larger array.

(3) Count the number of elements in an array that are larger than a given number.

(3) Count the number of elements in an array that are smaller than a given number.

(1) Add two arrays, store result in a third array.

You'll get a 1.2KB .ZIP file.