#include <stdio.h>

int main() 
{
    int n;
    scanf ("%d", &n);
    for (int fila=1; fila<=n; fila++)
        {
            for (int columna=1; columna<=n; columna++)
                {
                    printf ("%2d ", fila*columna);
                }
            printf ("\n");
        }
    return 0;
}

Embed on website

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