Write a loop that computes the average of an array of integers [2,5,6,7,9] called avgNum that has been previously declar
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a loop that computes the average of an array of integers [2,5,6,7,9] called avgNum that has been previously declar
Write a loop that computes the average of an array of integers [2,5,6,7,9] called avgNum that has been previously declared and initialized. Store the result in variable of type integer called iAvg that has been previously declared and initialized to zero. [5 marks]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!