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
Explanation:
average speed = total distance travelled / total time travelled
time to travel the first 6km: 6 / 50 = 3/25 (h)
time to travel the next 6km: 6 / 90 = 1/15 (h)
[I think there's problem in the question 'cause 900km/h sounds impossible for normal person to travel in normal condition]
The total time: 3/25 + 1/15 = 14/75 (h)
Average speed over the 12 km drive will be:

Answer:
3.14946 rad/s
Explanation:
= Intial moment of inertia
= Final moment of inertia
= Initial angular velocity
= Final angular velocity = 

In this system the angular momentum is conserved

The angular velocity when the diver left the board is 3.14946 rad/s
Slightly downstream for the shortest possible time
Answer:
10 m/s
Explanation:
Kinetic energy=
mv² where m is mass and v is velocity.
We have to make v the subject so we should rearrange the equation
K=
mv²
v²=
(use algebra)
v²= 7/0.5×0.140
v²=100
v=√100
v=10 m/s
We can confirm this by using the kinetic energy formula.
K=
×0.140×10²
K= 7 J
Hence it is proved that velocity is 10 m/s