#include <stdio.h>
int main()
{
int num, i, j, count = 0, number = 0;
char a[100][100] = {}, alpha = 'A';
scanf("%d", &num);
for (j = 0; j < num; j++) {
count = j;
for (i = num - 1; i >= 0; i--) {
a[count][i] = alpha;
alpha++;
count++;
number++;
if (number == 26) {
number = 0;
alpha = 'A';
}
if (count == num) {
break;
}
}
}
for (i = 0; i < num; i++) {
for (j = 0; j < num; j++) {
printf("%c ", a[i][j]);
}
printf("\n");
}
return 0;
}
Á¤¿Ã¿¡ ¿Ã¸®¸é printf°ªÀÌ Â©·Á¿ä Äڵ忡 ¹®Á¦Àִ°ǰ¡¿ä?