Ask Question
5 May, 00:54

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. 5 May, 01:04
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers