The average of three numbers \(x_1\), \(x_2\) and \(x_3\) is computed as

\[\frac{x_1 + x_2 + x_3}{3}\]

Assignment

The code snippet below assigns three values to three variables:var1, var2 and var3. Your task:

  1. Compute the average of these values and assign it to the variable average.

  2. Print the average.

  3. Add three comments.