**Write An Expression That Computes The Average Of The Values 12 And 40.** We have written all the explanations about this question below. I suggest you read slowly. You can express your thoughts in the comments.

**Guide Content**show

**Write An Expression That Computes The Average Of The Values 12 And 40.**

**Answers:**

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;

**Write An Expression That Computes The Average Of The Values 12 And 40. C+**

**Question 1:**

**Write a math expression that computes the average of the values 12 and 40.**

Note: Simply write the math expression. Do not assign the expression to a variable.

**Answer:**(12 + 40) / 2**Question 2:**

Write a math expression that computes the average of the variables exam1 and exam2.

Note: Simply write the math expression. Do not assign the expression to a variable.

**Answer:**(exam1 + exam2) / 2**Question 3:**

The dimensions (width and length) of room #1 have been assigned to two variables: width1 and length1. The dimensions of room #2 have been assigned to two other variables: width2 and length2. Write a math expression whose value is the total area of the two rooms.

Note: Simply write the math expression. Do not assign the expression to a variable.

Answer: (width1 * length1) + (width2 * length2) We covered the subject of Write An Expression That Computes The Average Of The Values 12 And 40. We have given the best answers to your questions.

You may interested:

**Write an expression to detect that the first character of userinput matches firstletter.****Which expression is equivalent to the following complex fraction?****Write an expression that continues to bid until the user enters ‘n’.****Write An Expression That Prints “Special Number” İf Specialnum İs -99, 0, or 44.****What is the weight, on earth, of a book with a mass of 1.5 kg?**