Advertisement
vikkktor

Basic Syntax_08.multiplicationTable

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