64
Table of Number
A table of a number can be printed using a loop in program.
Logic:
- Define the number.
- Run for loop.
- Multiply the number with for loop output.
Example:
We’ll print the table of 7.
Output:
Next TopicFactorial Program