a. Write a loop that fills a vector v with ten random numbers between 1 and 100. Write code for two nested loops that fill v with ten different random numbers between 1 and 100.
b. Write C++ code for a loop that simultaneously computes both the maximum and minimum of a vector.