Print the multiplication table of a number in reverse order
Problem Statement: Given a number, print its multiplication table in reverse order.
Algorithm:
- Start
- Input the number (
N
). - 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.
- Multiply
- 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.