I would like to take an array x and change all numbers greater than 5 to 5. What is the standard way to do this in one line?
x
Below is some code that does thi