Answer:
The answer to this question is given below in the explanation section
Explanation:
The expression that computes the average of value 12 and 40 is given below:
average = (12+40)/2;
in programming language we can write this expression as like;
int average = (12+40)/2;