Computers and Technology

Write a function swapvectorends() that swaps the first and last elements of its vector parameter. ex: sortvector = {10, 20, 30, 40} becomes {40, 20, 30, 10}. the vector's size may differ from 4.

answer
Answers: 1

Similar questions

Do you know the correct answer?
Write a function swapvectorends() that swaps the first and last elements of its vector parameter. ex...

Questions in other subjects: