int getDice()
I am trying to write a function to return the value of a thrown dice. the function will return the dice value, a number between 1 and 6.
i know you use the srand and the rand and make the function output it but i don't really know how to write that.