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

?????????????? Helpppppp
The tearing down of the Berlin Wall was symbolic of the reuniting of East and West Germany. True False
Which of the following are oxidation half-reactions? Cr2O72- → Cr3+ MnO4- → MnO2 Fe2+ → Fe3+ Cl- → Cl2
A rectangular garden that is 11 feet wide. the length of the diagonal is 1 foot greater than the length of the garden. what is the length of the garden?
The largest ethnic group in singapore is __, while the largest ethnic group in indonesia is ____
Converting Units Attachment Included
What function do mirrors serve in reflecting telescopes????
Which net ionic equation describes this reaction? Mg(NO3)2(aq) + Na 2CO3(aq) → MgCO3(s) + 2NaNO 3(aq) a) 2NO3–( aq) + 2Na+(aq) → 2NaNO3(aq) b) 2NO3–(aq) + 2 Na
A dictator follows and supports which type of government? A. Autocratic B. Democracy C. Empire
Amanda rented a bike from Shawna's Bikes. They charged her $2 per hour, plus a $10 fee. Amanda paid less than $27