Spocoman

02. Multiplication Table

Dec 24th, 2021 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function multiplicationTable(input) {
  2.  
  3.     for(let i = 1; i <= 10; i++){
  4.         console.log(`${i} * ${input[0]} = ${i * input[0]}`);
  5.     }
  6. }
  7.  
  8.  
Add Comment
Please, Sign In to add comment