I'm trying to create a method called myOddNum(int m, int n)
The method needs to obtain 2 odd integers from the user (ex: m = 5 and n = 9)
and it needs to calculate the following series: 5 - 7 + 9 = 7
Which is the same as (m - (m + 2) + (n -2) + n)
I'd like to find a way to use a loop to calculate this method. Any ideas?
Thank you!!