Both vectors should be declared to have the same number of elements.
vector<int> personName(50); vector<int> personAge(50)
Vector is a quantity that has both magnitude and direction. It is typically represented by an arrow whose direction is the same as that of the quantity and whose length is proportional to the quantity's magnitude. Although a vector has magnitude and direction, it does not have position like a point.
Learn more about Vectors here:
brainly.com/question/13322477
#SPJ4
Answer:
The speed of the cart and clay after the collision is 50 cm/s .
Explanation:
Given :
Mass of lump , m = 500 g = 0.5 kg .
Velocity of lump , v = 30 cm/s .
Mass of cart , M = 1 kg .
Velocity of cart , V = 60 cm/s .
We know by conservation of momentum :

Here ,
is the speed of the cart and clay after the collision .
Putting all value in above equation .
We get :

Hence , this is the required solution .
Answer:wave travel
Explanation:Because gravity pulls the water in the crest downward .Forced out from beneath the falling crests ,the falling water pushes former troughs upwards and the wave moves to a new position causing a disturbance.
False theyre called plate boundries
Answer:
it takes the shape and size of the container that it is in
Explanation: