Program to find and display multiplication table of a given number | faceprep

Program to find and display multiplication table of a given number | faceprep

The program to find and display the multiplication table of a given number is discussed here. Given a number, the multiplication table of that number is displayed as output until the end value is specified.

Program to find and display multiplication table of a given number


Sample input and output format:

Input format:

  • Input consists of 2 integers.

Sample Input:

1

5

Sample Output:

1 * 1 = 1

1 * 2 = 2

1 * 3 = 3

1 * 4 = 4

1 * 5 = 5


ad banner for face prep proClick here to learn more about FACE Prep PRO


Algorithm to display multiplication table of a given number

  • Input the number for which the multiplication table is to be generated.
  • Input the end value until which the table has to be generated.
  • Repeat from i = 1 to end
  • Display the table values in the given output format.(num * i = num*i)


face prep pro ad banner sonClick here to learn more about FACE Prep PRO


Program to find and display multiplication table of a given number

@@coding::1@@


Program to find and display multiplication table of a given number


c