about | help | code help+videos | done | prefs |
Given a three-digit positive integer and a one-digit positive integer, return the partial products expression. For example, given the inputs 123 and 9, return the expression '900 + 180 + 27' partialProductsExtend(953, 5) → '4500 + 250 + 15' partialProductsExtend(281, 2) → '400 + 160 + 2' partialProductsExtend(112, 9) → '900 + 90 + 18' ...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: 150 Post-solution available
Copyright Nick Parlante 2017 - privacy