Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #72.8K
~3K People Reached
Interests
In Computer Hacking
Favorite Forums
Favorite Tags
c++ x 2
c x 1

2 Posted Topics

Member Avatar for keval_hack
Member Avatar for SUBHENDU_1

#include<iostream.h> #include<conio.h> #include<math.h> void main() { clrscr(); int i,j,k,l,m=0,g,n,in,w=1,sp; cout<<"enter input\n"; cin>>in; g=in-1; i=1; n=in; j=in; int p=in; while(n>0) { for(sp=1;sp<=w;sp++) cout<<"-"; for(k=1;k<=j;k++,i++) { cout<<"*"<<i; } for(l=1;l<=n;l++) { cout<<"*"<<pow(p,2)+l-m; } cout<<endl; m=m+g; g--; n--; j--; w++; } getch(); } i think it would print something like that.

Member Avatar for David W
0
179

The End.