Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
this's daoremon's song code i hope you ever see doraemon's movie... |
|
[code=c] #include<stdio.h> #include <conio.h> void main() { int line,c,n,x; void pasc(int); printf("\n\nInsert, how much line do you want: "); scanf("%d",&line); printf("\n\n\n"); printf("\nPascal's Triangle Is : (press enter)\n"); for(x=line-1;x>=0;x--) printf(" "); printf(" 1\n\n"); for(n=2;n<=line;n++) { for(c=line-n;c>=1;c--) printf(" "); pasc(n); printf("\n"); getche(); } } void pasc(int n) { int r; long fact(int); … |