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
Summary

Instruction

Awesome! Similarly, if you'd like to find the maximum value in a vector, you can use the max() function. So, to determine the age of the oldest employee at Versico, you'd use the following function call:

max(ages)

Exercise

Employee salaries are stored in the vector named salaries. Determine the range of Versico salaries, that is the difference between the highest and the lowest salary.