Skip to content

Instantly share code, notes, and snippets.

@McLarenCollege
Last active December 23, 2021 03:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save McLarenCollege/934c28eed2cca410e73ca2936c845c60 to your computer and use it in GitHub Desktop.
Save McLarenCollege/934c28eed2cca410e73ca2936c845c60 to your computer and use it in GitHub Desktop.
Exercise : Number Table

Write a program to display the multiplication table of a given integer till the given number of terms.

Example: for input 3 and number of terms 10 It should give

3
6
9
12
15
18
21
24
27
30

CODE TEMPLATE


function numberTable(num, terms) {
   //Write your code here
}
numberTable(3, 10);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment