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 Solvers6
Suggested Problems
-
Select every other element of a vector
37555 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2595 Solvers
-
Find the largest value in the 3D matrix
1695 Solvers
-
How many days does the cat take to climb out of the hole?
83 Solvers
-
Sum the real and imaginary parts of a complex number
145 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!