Write an program to generate Pascal’s triangle.
#include <stdio.h> #include <conio.h> main() { int a[10][10],i,j,k,n; clrscr(); printf("Enter the height of the pascal traingle"); scanf("%d",&n); for(i=0;i<n;i++) { for(k=1;k<=n-i;k++) printf(" "); for(j=0;j<=i;j++) { if(j==0 || i==j) a[i][j]=1; else a[i][j]=a[i-1][j-1]+a[i-1][j]; printf("%d ",a[i][j]); } printf("\n"); } }
Write a C- Program To Count The Lines, Words, Characters In A Given Text.
Write the rules of DBA.
Why Required of ISO 9001:2000 standard?
What are the methodology for dialog design?
Define packet switching and circuit switching. What is MANET?