#include <stdio.h>
//#include <cs50.h>
int main(void)
{
// get user input and set to variable
int height = 5;//GetInt();
int i, j, k;
for(i = 0 ; i < height; i++)
{
// create n-1 spaces
for(k = (height ); k > (i-1); k--)
{
}
// create n+1 hash tags
for(j = 0; j < (i+1); j++)
{
}
}
return 0;
}
ICAjaW5jbHVkZSA8c3RkaW8uaD4KLy8jaW5jbHVkZSA8Y3M1MC5oPgoKaW50IG1haW4odm9pZCkKewoKICAgIC8vIGdldCB1c2VyIGlucHV0IGFuZCBzZXQgdG8gdmFyaWFibGUKICAgIHByaW50ZigiSGVpZ2h0OiBcblxuIik7CiAgICBpbnQgaGVpZ2h0ID0gNTsvL0dldEludCgpOwoKCiAgICBpbnQgaSwgaiwgazsKICAgIGZvcihpID0gMCA7IGkgPCBoZWlnaHQ7IGkrKykKICAgIHsKCiAgICAgICAgLy8gY3JlYXRlIG4tMSBzcGFjZXMKICAgICAgICBmb3IoayA9IChoZWlnaHQgKTsgayA+IChpLTEpOyBrLS0pCiAgICAgICAgewogICAgICAgICAgICBwcmludGYoIiVjIiwgJyAnKTsKICAgICAgICB9CgogICAgICAgIC8vIGNyZWF0ZSBuKzEgaGFzaCB0YWdzCiAgICAgICAgZm9yKGogPSAwOyBqIDwgKGkrMSk7IGorKykKICAgICAgICB7CiAgICAgICAgICAgIHByaW50ZigiIyIpOwogICAgICAgIH0KCiAgICAgICAgcHJpbnRmKCJcbiIpOwogICAgfQogICAgcmV0dXJuIDA7Cn0=