Exercise: Use basic arithmetic

To calculate the mean of the numbers 2, 3, 7 and 8:

  1. Add all the numbers together using +.
  2. Divide the result by the number of elements.
  3. Make sure that the result of the addition is calculated first by using braces ().

Submit code to see output here.

Use basic operators