Hi coders, today you will need to write a function multipliable that will take 3 STRING arguments, like this 'AB', 'AB', '100', where letters A...Z will represent unique single-digit number 0...9, and will need to return whether multiplying those composed numbers will give you a result.
For example,
multipliable('AB', 'AB', '100'); // true
// because 10 * 10 === 100
- Fork this repo
- Clone it to your machine
- Run
npm installfrom local repository folder - Solve problem in
index.js - Run
npm testand if OK, add, commit and push it to your github - Make a pull request
If you feel it was too easy, go to index.test.js and try uncommenting extra credit test:
multipliable('CODEWORKS', 'AWESOME', '957443700165410') // true