Advertisement
marinvch

12. Multiplication Table

Sep 26th, 2018
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function solve(args) {
  2.     let multyply = Number(args);
  3.     let sum = 0;
  4.  
  5.     for (let i = 1; i <= 10; i++) {
  6.         console.log(`${multyply} X ${i} = ${sum=multyply*i}`)
  7.     }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement