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

Here add

Just the last line

That’s calling the function

Otherwise it’s not executed/ run by processing