I think I just broke Java...
public class Numbers { public static void main(String[] args) { int ten = 10; int five = 5; int result = 0; sum(ten, five, result); difference(ten, five, result); } public static void sum(int five, int ten, int addMainVars ) { addMainVars = ten + five; System.out.println("10 + 5 is " + addMainVars + "."); } public static void difference(int five, int ten, int subtractMainVars ) { subtractMainVars = ten - five; System.out.println("10 - 5 is " + subtractMainVars + "."); } } Pay attention to method difference(). The System.out.println is supposed to display "10 - 5 is 5." Instead, it writes "10 - 5 is -5." However, when I assign variable subtractMainVars a value of "five - ten," the System.out.println displays "10 - 5 is 5." This is what I want displayed, but I need to have subtractMainVars assigned "ten - five." Please help. Thank you.