| about | help | code help+videos | done | prefs |
Write a function that takes a whole number n and returns the product of it's digits. No for loops or Strings. product(7) → 7 product(12) → 2 product(123) → 6 ...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