#include <stdio.h>
char cArray[10][10];
int i, j;
int main(void){
printf("%s"," ");
for(i=1; i<11; i++)
for(j=1; j<11; j++)
cArray[j] = ' ';
printf("%s"," A B C D E F G H I J");
printf("%s","\n ------------------------------------------");
for(i=1; i<10; i++) {
printf("\n ");
for(j=1; j<11; j++){
printf(" %s",cArray[j]);
printf("%s"," |");
}
printf("%s","\n ------------------------------------------");
}
printf("\n ");
for(i=10; i<11; i++)
for(j=1; j<11; j++){
printf(" %s",cArray[j]);
printf("%s"," |");
}
printf("\n");
}