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:
I=V/R
so larger bsttery or small resistor can increase the current value.
The force between the spheres increases when the mass increases in one of the spheres.
<u>Explanation:</u>
Newton law of universal gravity extends gravity beyond the earth's surface. This gravity depends directly on the mass of both objects and is inversely proportional to square of distance between their centers.

Since gravity is directly proportional to “mass of both interacting objects”, stronger objects with greater gravitational force attract. If the mass of one object increases, gravity between them also increases. For example, if an object's mass of one double, force between them also doubles.
Distance= speed (multiplied by) time