#include <stdio.h>
int main()
{
/*for (int i = 4; i>=1; i--)
{
for (int j = 1; j<=4-i; j++)
{
printf(" ");
}
for (int k = 0; k<2*i-1; k++) {
printf("*");
}
printf("\n");
}*/
for (int i = 4; i>0; i--) {
for (int j = 7;j>4-i; j--) {
if (j>3+i) {
printf(" ");
}
else
printf("*");
}
}
return 0;
} |
|