My if-else statement is flawed (only showing else code whatever input passed)

Printable View