Pattern 2
Pattern 2
* * * * * * *
* * * * *
* * *
#include<stdio.h>
int main()
{
int rows, i, j, space;
return 0;
}
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
#include <stdio.h>
int main()
{
int rows, coef = 1, space, i, j;
printf("%4d", coef);
}
printf("\n");
}
return 0;
}