标签:str ace for tab app int convert table can
int main(void) {
int n = 0, m = 0;
int i = 0, j = 0;
scanf("%d %d", &n, &m);
for (i = 0; i < n; i++)
{
for (j = 0; j < m; j++)
{
printf("+---");
}
printf("+\n");
for (j = 0; j < m; j++)
{
printf("| ");
}
printf("|\n");
}
for (j = 0; j < m; j++)
{
printf("+---");
}
printf("+\n");
return EXIT_SUCCESS;
}
标签:str ace for tab app int convert table can
原文地址:https://www.cnblogs.com/petrusxu/p/13041067.html