Compute the average (as a double) of values contained in te integer variables num1, num2, num3 and allot that average to double variable avg.
suppose the variables num1, num2, and num3 have been declared and allotted values, and variable avg declared.