about | help | code help+videos | done | prefs |
Write a method that returns the product of all the digits in a positive integer input parameter. You are not allowed to use any string methods or premade parsing methods (ha, ha, Hayden!) stingDigProduct(51312) → 30 stingDigProduct(50032) → 0 stingDigProduct(1111111) → 1 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 290
Copyright Nick Parlante 2017 - privacy