// end of "other" void
OTHER isn't a "void". It's a function. "void" just means that the function doesn't return a value.
// end of getchar void.
And the getchar function is not a "void". It isn't even declared "void". It is declared like this:
char getChar()
which means that it returns a char value. It is not "void". It is not "a void". It is a function.
}// end of equals loop
EQUALS is not a loop. It's a function.
Get the picture?
Pete