Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
C# programing TestScoreList?
Write a program named TestScoreList that accepts eight int values representing student test scores.
Display each of the values along with a message that indicates how far it is from the average.
An example of how the results should be output is as follows:
Test # 0: 89 From average: 6
Test # 1: 78 From average: -5
...
Does anyone have any idea on how to create this program? From what I can tell it wants me to create an array.
1 Answer
- EddieJLv 71 day ago
Hi, mark,
You need to create an array to store the values so you can use them later.If all you needed to do was calculate the average, you could just add each value to a total as you read it in and then discard the test score.You should have examples of how to create an array. If not, how would your teacher expect you to know how to do that?