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

Write a C++ program to compute the final grade for acourse. Student name, identi

ID: 3618156 • Letter: W

Question

Write a C++ program to compute the final grade for acourse. Student name, identifies students. The final grade iscomposed of two parts, homework average counts for 30 percent,class participants 10 percent and test average counts for 60percent. There are two tests; each has maximum points of 100. Thereare 10 homework assignments, with maximum points of 35, 45, 30, 25,30, 40, 50, 35, 35 and 50 respectively. Homework average iscomputed by adding all the homework scores together then divide bymaximum possible points. The final grade needs to be converted toletter grade, and the scale is listed below:

           90-100         A

           80 – 89        B

           70 – 79        C

           60 – 69        D

           59 <             F

After each student's grade is determined, the programperforms a statistics on the entire class by finding out how manyA's, B's, C's, D's and F's in the class.

The program should read input from data file"prg10data.txt", which is included in the assignment folder. Theoutput should go to file "prg10out.txt", which is to be created,and should have information for each student followed by classstatistics. The average and final scores should always be printedwith no decimal place.

info from "prg10data.txt"

SenaOthmancio             77 88 22 28 35 45 33 35 40 45 40 30


Laura In                         97 90 25 30 38 48 34 35 50 45 40 30


Habood Nowah               79 82 25 30 32 47 30 33 46 45 40 30

IbrahamAnned                 90 86 25 30 40 46 34 35 50 45 40 30

SabreenaBat                      7782 25 30 36 46 33 32 47 45 40 30


Maggy Magou                 67 72 23 28 35 44 30 30 44 45 40 30


Tami Timm                      76 83 25 29 38 49 35 35 49 45 40 30

GilBill                                86 79 45 35 38 45 50 45 4845 40 30

The following is a sample data file, in the order ofstudent name, two test scores, and ten homework scores on eachline:

Laura In        97 9025 30 38 48 34 35 50

Number of A's:         1

Number of B's:          2

Number of C's:          0

Number of D's:         0

Number of E's:          0

Youare required to solve this problem using only C++:Functions, Arrays, and pointers.   You need todeclare an array of 30 students to manager a class of maximum30 students. Each student should have name, hwAve, testAve,finalScore, grade, an array of 2 test scores, and an array of 10homework scores.

Thankssssssssss a ton

Explanation / Answer

please rate - thanks your question has many problems 1-where does participation grade come from 2-where is participation grade stored-I put it in the struct, andmade them all 100 3- you say there are 10 grades, but your sample data has 7 4-sample data has grades more then the max for that homework 5-should the last grade be E as in the sample, or F as in thestatement this code should get you started #include #include #include using namespace std; struct SStudent{ string name; double hwAve; double testAve; double finalScore; char grade; double tests[2]; double homework[10]; double part; } stu[30]; int getInput ( SStudent [], int);        void process ( SStudent [], int ); void display ( const SStudent [], int ); int main() {int n; n=getInput ( stu,30 ); if(n>last; stu[m].name=first+" "+last; for(i=0;i>stu[m].tests[i];    for(i=0;i>stu[m].homework[i];    stu[m].part=100;    m++;    in>>first;    } in.close(); return m; } void process ( SStudent stu[], intn)         // send numberof students really stored in the array                                           // calculate hwAve, testAve, finalScore, and grade                                          // for each student on the array {int i,j; double maxpoints[10]={35,45,30,25,30,40,50,35,35,50}; char grades[6]={'F','D','C','B','A','A'}; double tot; for(i=0;i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote