I have 2 vectors, both of size n. I want to form a vector of pairs whose elements are the are corresponding values in the 2 vectors. For example:
vector 1 = [1,2,3,4,5]
vector 2 = [10, 20, 30, 40, 50]
pair of vector = [(1,10), (2,20), (3,30), (4,40), (5,50)]
I haven’t studied the concept of maps yet, so kindly provide me a way to do this without maps.