Write an algorithm to print the multiplication table of a number in reverse order.

Print the multiplication table of a number in reverse order

Problem Statement: Given a number, print its multiplication table in reverse order.

Algorithm:

  1. Start
  2. Input the number (N).
  3. For each multiple from 10 to 1 (i.e., 10, 9, 8, …, 1), do the following:
    • Multiply N by the current multiple.
    • Print the result of the multiplication.
  4. End

Explanation: The multiplication table of a number is a sequence of products starting from 1 (N×1, N×2, …). In this case, the task is to print the table in reverse order. By starting with the highest multiple (N×10) and working our way down to N×1, we achieve the desired result.