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

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: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Solved Programs