C++ Program to Print Number Table

If you want to write a C++ program to print number table, then this tutorial is specially designed for you. Please keep your close attention in this post as I am going to share a C++ program to print number table while executing below C++ program.

How to Print Number Table?

In this program, we have to get input from the user and the multiply that number with “i” variable to print the number table with the help of the for a loop. Copy and paste below code to print the number table of an entered number by the user.

Output is:

Enter a number: 4
4 * 1 = 4
4 * 2 = 8
4 * 3 = 12
4 * 4 = 16
4 * 5 = 20
4 * 6 = 24
4 * 7 = 28
4 * 8 = 32
4 * 9 = 36
4 * 10 = 40

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , ,