Write an expression that computes the average of the values 12 and 40.
LANGUAGE: JAVA
CHALLENGE:
Write an expression that computes the average of the values 12 and 40.
SOLUTION:
(40 + 12) / 2
Posted in Java, Learn To Code
Write an expression that computes the average of the values 12 and 40.
(40 + 12) / 2