Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

( Please, Provide Detailed Steps and Visuals showing how to create the Applicati

ID: 656472 • Letter: #

Question

(Please, Provide Detailed Steps and Visuals showing how to create the Application below)

Use Visual Studio (2010-2012) C#, to Create an application that reads a file called Test Scores.txt with 11 scores. Place the data in an array or list and display the content of the array or list in a listbox.

Calculate the lowest score, highest score, median score, average score and the standard deviation of the scores. Display those values.

Write methods that accept an array or list and returns lowest score, highest score, median score, average score and the standard deviation of the scores.

Note: the median is calculated differently if your data is odd or even. Ensure that your method can handle an even or odd number of data items.

Use the the Testscores.txt file to check your program

Explanation / Answer

int scores[] = new int[data.nextInt()];

while (data.hasNext())
{
scores[i] = data.nextInt();
i++;
}

Arrays.sort(scores);


console.writeline("Lowest score: " + scores[0]);
console.writeline("Highest score: " + scores[(scores.length - 1)]);
for(i=0;i<score[i];i++)

{
average=score[i]/i;
}
console.writeline("average score: " + scores[0]);
for (int i = 0; i < values.Count; i++)
{
        bigSum += Math.Pow(values[i] - mean, 2);
}
console.writeline("median " + scores[0]);
    {
    stdDev = Math.Sqrt(bigSum / (values.Count - 1));
}
console.writeline("standard deviation " + scores[0]);