Ask Question
13 November, 12:06

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. 13 November, 12:17
    0
    Avg = (num1 + num2 + num3) / 3;
Know the Answer?
Not Sure About the Answer?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers