Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C by test ( 16 years ago )
#include <stdio.h>
#define N 15
int G=N;
int func(int i)
{
int r, j;
for (r=1; r<G; r++)
putchar(' ');
G--;
for (r=0; r<i; r++)
{
putchar('*');
printf("*");
}
putchar('\n');
}
main()
{
int i;
for (i=1; i<N; i++)
func(i);
}
Revise this Paste