Instead of a 6-sided die, your function should now receive an integer d (assume 2 or greater), representing the number of faces of the die. Otherwise, the problem is the same.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers4
Suggested Problems
-
Set the array elements whose value is 13 to 0
1449 Solvers
-
Determine the number of odd integers in a vector
837 Solvers
-
534 Solvers
-
Sum the numbers on the main diagonal
616 Solvers
-
185 Solvers
More from this Author45
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!