Program to print multiplication table of a number | CPP program to print table over a range . ; Driver code ; Change here to change input number ; Change here to change result .
#include <iostream> NEW_LINE using namespace std ; int main ( ) { int n = 8 ; int range = 12 ; for ( int i = 1 ; i <= range ; ++ i ) cout << n << " ▁ * ▁ " << i << " ▁ = ▁ " << n * i << endl ; return 0 ; }