Sorry, guys but I'm really new to this.

I have two variables: totalMonthsA and totalMonthsB each representing an int value. Either value can be bigger or smaller than the other. How do I compare them to find the smaller variable to subtract from the larger one?