Skip to content

This program computes the average of a series of test scores. If you run it you should see 86.6. Let's walk through the program: • First we create an array of length 5 to hold our test scores, then we fill up each element with a grade • Next we setup a for loop to compute the total score • Finally we divide the total score by the number of eleme…

Notifications You must be signed in to change notification settings

AnonnaGH/26.array2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

26.array2

This program computes the average of a series of test scores. If you run it you should see 86.6. Let's walk through the program: • First we create an array of length 5 to hold our test scores, then we fill up each element with a grade • Next we setup a for loop to compute the total score • Finally we divide the total score by the number of elements to find the average

About

This program computes the average of a series of test scores. If you run it you should see 86.6. Let's walk through the program: • First we create an array of length 5 to hold our test scores, then we fill up each element with a grade • Next we setup a for loop to compute the total score • Finally we divide the total score by the number of eleme…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages