codybrocs7001 codybrocs7001 06-12-2017 Computers and Technology contestada Write a function swaparrayends() that swaps the first and last elements of the function's array parameter. ex: sortarray