#include <iostream>
using namespace std;

int main() {
    int N;

    cout << "Ingresa un número entero para mostrar su tabla de multiplicar: ";
    cin >> N;

    cout << "Tabla de multiplicar del " << N << ":" << endl;
    for (int i = 1; i <= 10; ++i) {
        cout << N << " x " << i << " = " << N * i << endl;
    }

    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: