<br />#include<iostream> #include<iomanip> using namespace std; int main() { cout<<"Tower..."<<endl; int a,x,b,p=0; cout<<"Enter Storey of the Tower:-"; cin>>a; for(b=1; b<=a; b++) { p++; for(int i=0;i<=p;i++) { for( x=15+a-1; x>=b; x--) { cout<<" "; } for(int x=1; x<=b; x++) { cout<<"* "; } cout<<endl; } } cout<<setw(50)<<"@ Myprogworld.....!!n"; }