You are not printing the upper right part. Change the for loops like this so that you print *
for the remaining number if you subtract row
from 7
for (row = 1; row <= 7; row++) {
for (column = 1; column <= row; column++)
putchar('*');
putchar(' ');
for (column = row; column <= 7; column++)
putchar('*');
putchar('\n');
}
solved C language or programminng