/*  HELLO.C -- Hello, world */


#include "stdio.h"

#include "conio.h"


main()

{ int a[10]={1};

int i,j;



for(i=1;i<10;i++)  

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

    a[j]=a[j]+a[j-1];



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

  printf("%d  ",a[j]);

  printf("\n");

}



   getch();

     }