+ 6
Hint: - Use the Scanner.nextInt to get the numbers. - Use if with logical AND, to decide whether both integers are within range (10-20). Use if to check whether integer #1 is greater than integer #2. - Subtract the integers when they met the two conditions above. - Good luck!
10th Feb 2018, 1:18 PM
Ipang