Ask Question
14 March, 09:25

Calculate the average (as a double) of the values contained in the integer variables num1, num2, num3 and assign that average to the double variable avg. assume the variables num1, num2, and num3 have been declared and assigned values, and the variable avg declared.

+2
Answers (1)
  1. 14 March, 13:00
    0
    Avg = (num1 + num2 + num3) / 3;
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Calculate the average (as a double) of the values contained in the integer variables num1, num2, num3 and assign that average to the double ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers