Print

#include <iostream>

using namespace std;

int main(){
int height=0;

cout <<"Enter the height: ";
cin >> height;


for (int row =2; row <=height; row++){
for(int column =1; column<=height+1; column++){
if(column > height - row +1){
cout<< "#";
}
else{
cout << " ";
}

}
cout << endl;
}
system("pause");
}

mario