Challenge #4

For this exercise you will use the C++ Vector library. #include

You have until 17:30!

To begin with generate a random number between 50 & 150 – this will be the number of integers in your vector. Create a vector and general random integers (between 0-100) to put into your vector.

Then write functions which will return the following information about the values stored in your vector.

* The number of elements.
* The sum of all elements.
* The highest value.
* The lowest value.
* The mean value.
* The median value.
* The mode value.
* The range.
* The number of even numbers.
* The number of odd numbers.
* The values output in order from lowest to highest.

For each function add a comment to indicate the Big-O for that function!