Newbie here. Apparently missing something here I can't even decipher the error message. Please let me know what went wrong! Thank you!
int main(void)
{
int height;
do
{
printf("Height (0-23)?: ");
height = get_int();
}
while (height < 0 || height > 23);
int row, space, hash;
for (row = 0, row < (height - 1), row++){
for (space = 0, space < height - row, space++){
printf(" ");
}
for (hash = 0, hash < row, hash++){
printf("#");
}
printf(" ");
for (hash = 0, hash < row, hash++){
printf("#");
}
printf("\n");
}
And here 's the error message: