Write a loop that computes the average of an array of integers [2,5,6,7,9] called avgNum that has been previously declar
Posted: Thu Jul 14, 2022 2:12 pm
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]