Write an expression that computes the integer average of the int variables exam1 and exam2 (both declared and assigned values).

LANGUAGE: JAVA

CHALLENGE:

Write an expression that computes the integer average of the int variables exam1 and exam2 (both declared and assigned values).

SOLUTION:


(exam1 + exam2) / 2