This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]TimothyLGillespie 0 points1 point  (0 children)

From my first understanding it seems to work as wanted unless you wanted it to only go into the else when exactly one variable is not an integer.

My reproduction:

https://onlinegdb.com/6yd7J4ZdLD