public class MainClass {
public static void main(String[] args) {
int numA = 5;
int numB = 10;
int numC = 0;
numC = ++numA + numB;
System.out.println(numA);
System.out.println(numC);
}
}
6
16
public class MainClass {
public static void main(String[] args) {
int numA = 5;
int numB = 10;
int numC = 0;
numC = --numA + numB--;
System.out.println(numA);
System.out.println(numC);
}
}
4
14