/*watch More other Interesting vedios of that in my youtube channel. copy that .. ....link...http://www.youtube.com/guruboy87 */
#include"iostream.h" #include"conio.h" #include"iomanip.h" #include"dos.h" void main() {
int a,i,n,k,p=1,j,l; clrscr(); cout<<"\t\t\t\n************** Guruboy87 *************\n"< cout<<"Enter Big number For Big Triangle = "; cin>>n; cout<<"\n"; for(i=n;i>0;i--) {
for(j=i;j>=1;j--) {
if(j==1) { cout<<" *";
if(p!=1) { delay(300); for(l=p;l>j;l--) { cout<<" "; } for(k=1;k<=j;k++) {
cout<<"*"; } }
}
else {
cout<<" "; }
} cout<<"\n"; p+=2; if(i==1) { cout<<" "; for(int m = 0 ; m < n+1 ; m++) { delay(300); if(m==n/2) { cout<<" "; } cout<<"* "; }
}
}
getch();
}
/* watch More other Interesting vedios of that in my youtube channel. copy that .. ....link...http://www.youtube.com/guruboy87 */
|
No responses found. Be the first to respond and make money from revenue sharing program.
|