Note: (Restricted functionality due to obvious reasons!)
Minimal Code ( Raw-View ) :
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int height, nsp, nst;
cout<<" Enter height : ";
cin>>height;
for(int l = 1; l <= height; l++){
for( nsp = height; nsp >= l; nsp--){
cout<<" ";
}
for( nst = 1; nst <= l; nst++){
cout<<"*";
}
for( nst = 1; nst < l; nst++){
cout<<"*";
}
cout<<endl;
}
cout<<"\n----THE END----";
getch();
return 0;
}