The following code does work how I need it to, but it\'s ugly, excessive or a number of other things. I\'ve looked at formulas and attempted to write a few solutions, but I
You may use a switch case instead of mutiple if
if
Also to mention that since you have two variables then you have to merge the two variables to use them in switch
Check this Java switch statement to handle two variables?