Take out a sheet of paper and answer these four questions.
You SHOULD refer back to your Dice class project.


1. Write code that will create a 12 sided die.

 


2. Write code to roll the die created in #1, 30 times, printing the results.

 

3. Write code that will create a vector of doubles, longList, with 100 elements, initializing them all to zero.

 


4 . Write code to print the elements of longList backwards, one per line.