Ask Question

Write a single statement that assigns avg_sales with the average of num_sales1, num_sales2, and num_sales3. Sample output for the given program: 5.0

+3
Answers (1)
  1. 8 July, 17:31
    0
    Double avg_sales = (num_sales1 + num_sales2 + num_sales3) / 3;
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a single statement that assigns avg_sales with the average of num_sales1, num_sales2, and num_sales3. Sample output for the given ...” 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