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:
more than
Explanation:
In a nuclear fusion reaction, the mass of the products is more than the mass of the reactants.
Answer:
I₁ > I₃ > I₂
Explanation:
Taking the pic shown, we have
m₁ = 10m₀
m₂ = 2m₀
m₃ = m₀
r₁ = r₀
r₂ = 2r₀
r₃ = 3r₀
We apply the formula
I = mr²
then
I₁ = m₁r₁² = (10m₀)(r₀)² = 10m₀r₀²
I₂ = m₂r₂² = (2m₀)(2r₀)² = 8m₀r₀²
I₃ = m₃r₃² = (m₀)(3r₀)² = 9m₀r₀²
finally we have
I₁ > I₃ > I₂