Write a complete program to calculate the Average gradefor 30 students. The program should create array of records for 30students and allow to enter or read from a file for each student.The entering data are:
First and last name
5 tests grades (100 points each) (400 points total afterdropping low grade)
Total assignment points (0 to 500)
Total Quiz points (0 to 150)
Final test grade (0 to 200)
Let the program find the lowest of 5 test scores anddrop it(change it to zero) for each student. The Final Average willbe calculated on base of 10% for Quiz, 30% for assignments, 40% forTests and 20% for final test grade. You need to create, and print aSORTED two-dimensional array with student’s name, final average andLetter grade for each student, The letter grade will be on base of90-100 =A and 80-89 = B and so on.
e.g. For Example if Jim Brown total testscore is 350, and with the 40 percentage will be:
( 350*100 )/400 *40% =35
Iftotal Assignment is 375 then
(415*100)/500 * 30%=24.90
If totalQuiz is 77 then
(77*100)/150*10%=5.10
and if Final test is158 then
(158*100)/200*20%=15.80
Then the final average is 35+24.90+5.10+15.80= 80.8 and his Letter grade is “B”
This is for visual studio C#
Expert Answer
Answer to Write a complete program to calculate the Average grade for 30 students. The program should create array of records for …