C-Programming-Dice-Function-computer-science-homework-help

Write a dice rolling function; that is, a function that returns two random numbers, both in the range [1, 6]. Implement the function two times: once using references, and a second time using pointers. Your function declarations should like this:

void Dice(int& die1, int& die2);

void Dice(int* die1, int* die2);

After you have implemented and tested this function, write a small craps-like gambling game that allows the user to place bets on the dice roll outcomes. You are free to make up your own game rules.