Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
What are vectors?
Vector operations
Indexing and filtering
Simple analysis


Nice job! Finding minimum and maximum salaries can be useful, but the company management is more likely to be interested in finding the average salary earned by its employees.

To calculate the average value of a collection of numbers invoke the mean() function. For example, we can calculate the average employee age using the following code:



The salaries are stored in the salaries vector. Determine the average salary earned by Versico employees.