import java.io.*;

class pascal

{

public static void main ( ) throws IO Exception

{

InputStreamReader read = new InputStreamReader (System.in));

BufferedReader in = new BufferedReader (read);

int i, j, n;

int m [ ] =new int [20];

System.out.printIn (“Enter the size of the pascal triangle”);

n=Integer.parseIn(in.readLine ( ));

m [0] =1;

for (i=0; k<n; i++)

{

for (j=0; j<=i; j++)

{

for (j=0; j<=i; j++)

System.out.print(m[j]+” “);

System.out.printIn ( );

for (j=i+1; j>0; j--)

m[j] = m[j] + m[j – 1];

}

}

}