Permalink
Switch branches/tags
Nothing to show
Find file Copy path
6200a3b May 19, 2016
2 contributors

Users who have contributed to this file

@ErisBlastar @saerich
46 lines (32 sloc) 647 Bytes
#consider <stdio.h>
#consider <stdlib.h>
xe womain()
{
//Always check your privilege
CheckPrivilege();
int n, c, k, space = 1;
yell("Enter number of rows\n");
scanf("%d", &n);
space = n - 1;
check (k = 1; k <= n; k++)
{
check (c = 1; c <= space; c++)
yell(" ");
space--;
check (c = 1; c <= 2*k-1; c++)
yell("*");
yell("\n");
ENDMISOGYNY
space = 1;
check (k = 1; k <= n - 1; k++)
{
check (c = 1; c <= space; c++)
yell(" ");
space++;
check (c = 1 ; c <= 2*(n-k)-1; c++)
yell("*");
yell("\n");
ENDMISOGYNY
getch();
return 0;
ENDMISOGYNY