Help with using input values with variables along with if, else if code

Yeah, without calling the function it is ignored