The average of three numbers \(x_1\), \(x_2\) and \(x_3\) is computed as
\[\frac{x_1 + x_2 + x_3}{3}\]The code snippet below assigns three values to three variables:var1, var2 and var3. Your task:
Compute the average of these values and assign it to the variable average.
Print the average.
Add three comments.