Given an array temps of double, containing temperature data, and an int variable n that contains the number of elements in temps: Compute the average temperature and store it in a variable called avgTemp. Besides temps, n, and avgTemp, you may use only two other variables - - an int variable k and a double variable total, which have been declared.
+2
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Given an array temps of double, containing temperature data, and an int variable n that contains the number of elements in temps: Compute ...” 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.
Home » Computers & Technology » Given an array temps of double, containing temperature data, and an int variable n that contains the number of elements in temps: Compute the average temperature and store it in a variable called avgTemp.