C++ Programming Code Examples C++ > For Loops and While Loops Code Examples Multiplication Table (Values) Using For Loop Multiplication Table (Values) Using For Loop /* Example Program For Multiplication Table (Values) Using For Loop In C++ */ #include<iostream> #include<conio.h> using namespace std; int main() { // Variable Declaration int table, range; // Get Input Value multiplication table cout << "Enter the multiplication table you want to print : "; cin >> table; // Get Input Value for Range cout << "Enter the range: "; cin >> range; //for Loop Block for (int i = 1; i <= range; ++i) { cout << table << " * " << i << " = " << table * i << endl; } // Wait For Output Screen getch(); return 0; }