Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Student Grade Problem: Write a program that will read a students' (i) record and (ii) class from a data file and display it on the
Student Grade Problem: Write a program that will read a students' (i) record and (ii) class from a data file and display it on the screen as well as create an output file. The data file has students' name, and five test scores. The program should display a letter grade for the average test score. Solve the problem using (i) array, (ii) structure, and (iii) class. Use the following input file: Input file: NormanM.RichardAlfredG.PenaHemaA.GarciaOmarT.GarzaNancyM.Zamora88677783559063718056896179815797676889609360708563 Output file: Name Test1 Test2 Test3 Test4 Test5 Avg Grade NormanM.Richard889088979391A [Use functions getdata() to accept name & scores, calcAverage() to find average of the scores, determineGrade() to find letter grade, and showQutput() to display student's record.] Add the following activities for the above program: - linearSearch(....) to search a name or total score of a student - binarySearch (...) to search a name or total score of a student - bubbleSort(...) to sort by name or total score of a student - selectionsort (...) to sort by name or total score of a student
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started