Skip to content
Sign UpLog In

Side Task Lab XIV: find average from array

Poonyawatt
Poonyawatt
2 followers
Made with
C
C
Published on Sep 29, 2022
  • #AdditionalExercises

Write a program that first receives the size of an array, n (assume that n>0). It then creates an array of size n, and asks the user to fill in n decimal numbers. Compute the average of all elements in the array (with two decimal places).

Loading comments...