vector Exercises

7.38

Use a vector of integers to solve the problem described in Exercise 7.10.

7.39

Modify the dice-rolling program you created in Exercise 7.17 to use a vector to store the numbers of times each possible sum of the two dice appears.

7.40

(Find the minimum value in a vector) Modify your solution to Exercise 7.37 to find the minimum value in a vector instead of an array.

Категории