I don't know if this is possible. I'm in a situation where the input is going to look like this:
[int, String, int]
Where the string is either "<", ">", "=", "<=", ">=".
Is there the way to implement a method that would help me compare the two ints with respect to the string compare parameter without multiple if statements?
I hope I've explained it well.
Thanks.