Class Average

18.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: zip solution files instantly, after Payment

Securely Powered by: Secure Checkout

Description

5/5 - (1 vote)

(TCOs 5, 6, and 8) Review the following scenario and complete the design.

Scenario

Professor Higgins has asked you to design the logic that will be used to calculate final class averages and grades for his students. His grading algorithm is as follows.

Exam average: 50%

Quiz average: 25%

Lab average: 25%

< Professor Higgins has 30 students in his class. For each student, Professor Higgins will enter the studentsâs name and store into a ânamesâ array. Then input the value for each of the averages (exam, quiz, and lab). Then using the weighting above the program will calculate the final student class average and store each studentâs final average into an array. The program will then determine the letter grade for each student using the following criteria.

90â100: A

80â89: B

70â79 C

60â69 D

Less than 59 F

When the studentâs final grade is determined, the final grade will be stored in a third âgradeâ array.

After all data have been input and calculations done, display the final output using the three arrays as a Grade Report with headings of NAME, AVERAGE, and GRADE.

· Display the name, final average, and grade for all the students.

· Calculate and display the total class average (total of all individual student averages / number in class).

Write a program using C#, prompt the user for the appropriate input, and display the output as described above. You may assume all data are valid. Provide a program introduction message that tells the user how to use the program.

  • Class-Average.zip