I've been trying to get the Mario problem finished. What appears to me to be a workable solution keeps generating error messages (when I run the compiler) around an "undeclared identifier" (even though I have clearly defined the integer, namely height) and one relating to "expected expression" when using the "height > 0 && < 24" function in a while loop.
I've looked at the other answers on this forum on pset1 Mario but nothing seems to directly address my problem. Why am I getting these errors?
int main(void)
{
do {
printf("Enter the height of the pyramid: \n");
int height = GetInt();
}
while (height > 0 && < 24);
}