Description
Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice.
Example
[x1,x2] = rollDice(); x1 = 5; x2 = 2;
1 player likes this solution
2 players like this solution
4 players like this solution
Tags
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply Today
10 players like this problem
10 players like this problem