In java, how would I make a calculation where the greatest number is subtracted by the smaller number?
<p>If I get two totals as an input, where the first and second number may vary in which is larger, how would I set the calculation to always be the greater number subtracted by the smaller one?</p>
