Your function should calculate the product of the digits of a positive given integer excluding any zeroes.
Example: the result of dig_mul(123450) will be 1*2*3*4*5=120.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers39
Suggested Problems
-
12559 Solvers
-
Program an exclusive OR operation with logical operators
751 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2575 Solvers
-
900 Solvers
-
Create an index-powered vector
957 Solvers
More from this Author53
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!