Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 467 Bytes
#include<stdio.h>
#include<conio.h>
int main()
{
printf("\n\n");
for (int i = 7; i >= 0 ; i--)
{
for (int j = 0; j < i; j++)
{
printf(" ");
}
for (int k = i; k < 7; k++)
{
printf("*");
}
printf("\n");
}
printf("\n\n");
_getch();
return 0;
}