Raymond D. answered 10/02/15
Tutor
5
(2)
Retired, But Enjoy Passing on Math and Computer Knowledge
To get a random number between 1 and 100 and add it to vector V, you would use the following:
V.push_back(std::rand() % 100 + 1);
Put above statement in a loop that will execute 10 times.