I am in the second semester of college, we are learning vector, and I am very lost in the list of exercises.
An exercise asks the user to type 5 elements for a vector, and then I have to get these elements, send them to another vector, only with inverted order. How can I do this?
Example:
vetor_original [ 1, 2, 3, 4, 5]
vetor_cppia [ 5, 4, 3, 2, 1]