Sobes.tech
Intern — Middle

Generate a vector of random integers

livecode

Task condition

Declare a vector of integers and fill it with random elements.

# include <vector>
# include <cstdlib>

std::vector<int> randomVec;
// fill with random values