Die Function 1

Write a program 09-DieFunction1 that has a function in it called roll(). That function calculates a random number from 1-6 and returns it to the script where it can be printed out.

Instructions

The main part of the script should just call the roll() function several times so we can see the random dice rolls produced.

Sample output:

Let's roll the die!
2
6
5
5
1

Finishing Up

Once your program is working correctly, use your mouse to click-drag over the URL address for your project at the top of the browser window. Copy that link, and give that copied link to the instructor using the procedure given in class.