Simplified index.md (#29285)

Simplified the logic of nested loops of pattern printing.
This commit is contained in:
Tanmoy Sarkar
2019-01-05 21:29:13 +05:30
committed by Christopher McCormack
parent edb04e891d
commit e411dc3dc5

View File

@ -130,7 +130,7 @@ int main() {
for (int col = 0; col < cols; col++) {
printf("%5d", arr[row][col]);
}
puts("");
printf("\n");
}
return 0;