#include <stdio.h>
int main()
{
    int user;
    int a = 65;
    scanf("%d", &user);

    for (int i = 0; i < user; i++)
    {
        for (int j = 0; j < user; j++)
        {
            printf("%c ", a + (user - 1 - i)+ (user - 1 - j)* user );
        }
        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: