#include #include void main() { int a[13], i, j, n; clrscr(); cout<<"Enter the no oflevels of the triangle: "; cin>>n; cout<<"\n\n"; for(i=0; i<=n; i++) { a[i]=1; for(j=0;j<=i;j++) cout<=1;j--) a[j]=a[j]+a[j-1]; cout<<"\n\n"; } cout<<"\n\t Written By: Sujit Kr Nayak\n\t Roll No: ELD09006"; getch(); }