You need to sign in or sign up before continuing.×
Retired
Multiply two numbers a number of times (retired)
840 of 1,319msmichellegar
Description:
Write a function to multiply a number (x) by a given number (y) a certain number of times (n). The results are to be returned in an array.
eg.
multiplyBy(2, 4, 6);
The output is: [8, 32, 128, 512, 2048, 8192]
NB: all arguments (x,y and n) will always be integers. Times (n) will always be a positive integer.
Fundamentals
Arithmetic
Mathematics
Algorithms
Logic
Numbers
Similar Kata:
Stats:
Created | Apr 8, 2015 |
Warriors Trained | 2390 |
Total Skips | 295 |
Total Code Submissions | 5429 |
Total Times Completed | 1319 |
JavaScript Completions | 840 |
Ruby Completions | 389 |
Haskell Completions | 107 |
Total Stars | 21 |
% of votes with a positive feedback rating | 100% of 5 |
Total "Very Satisfied" Votes | 241 |
Total "Somewhat Satisfied" Votes | 1 |
Total "Not Satisfied" Votes | 38 |