salm123 salm123
  • 02-10-2020
  • Computers and Technology
contestada

Write an expression that computes the average of the values 12 and 40.

Respuesta :

asarwar
asarwar asarwar
  • 02-10-2020

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;

Answer Link

Otras preguntas

True or False? It's not possible to build a triangle with side lengths of 3, 3, and 3.
How many justices are on the Supreme Court?
In an oxidation-reduction reaction, the number of electrons lost is (1) equal to the number of electrons gained (2) equal to the number of protons gained (3) le
Name one of the two longest rivers in the United States.
The Federalist Papers supported the passage of the U.S. Constitution. Name one of the writers.
round 75.4614 to the nearest thousandth
A triangle has two sides of length 6 and 9. What could the length of the third side be? Check all that apply, A. 10 B. 7 C.4 D.2 E.15 F.12
Who makes federal laws?
What do we show loyalty to when we say the Pledge of Allegiance?
Who makes federal laws?