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

1. Create a Gradebook and Enter Grades When the user chooses 1, the program shou

ID: 3615749 • Letter: 1

Question

1.     Create a Gradebook and Enter Grades

When the user chooses 1, the program should perform thefollowing tasks:

Assessment Type

Weight

First Assignment

10%

Second Assignment

10%

Project

10%

Midterm Exam

30%

Final Exam

40%

Weighted Total Grade

100%

Table-1: Weight Distribution

Sample output of choice 1

2.     Print a Gradebook along with SummaryStatistics.

When the user chooses 2, the program should perform thefollowing tasks:

a.       Prompt the user to enterthe name of the gradebook file.

b.      Read the gradebook file andloop until end-of-file is reached

c.       Calculate the averageweighted total grade.

d.      Generate a screen report(similar to the sample output below) that prints for each student,the student Id, the five grades, total grade and weighted totalgrade. The screen report should also print a statistics summarythat includes:

·         the average weighted total grade, and

·         thestandard deviation [BONUS]

BONUS: Computing the standard deviationis optional
Sample output of choice 2:

3.     Append Students to the Class RoasterFile.

When the user chooses 3, the program should perform thefollowing tasks:

a.       Prompt the user to enterthe name of the class roaster file.

b.      Open the class roaster file inappend mode so that not to destroy the file.

c.       Prompt the user to enterthe student ID and student name for every student to be added andwrite them to the class roaster file. Keep looping until a (-1)

Sentinel is entered.

Sample output of choice 3

Assessment Type

Weight

First Assignment

10%

Second Assignment

10%

Project

10%

Midterm Exam

30%

Final Exam

40%

Weighted Total Grade

100%

Explanation / Answer

please rate - thanks #include #include #include #include using namespace std; int menu(); void create(); void print(); void append(); int input(string,int); double calc(double,double ); double standardd(double [],int, double ); int main() {int choice; do { choice=menu(); switch(choice)     {case 0: return 0;      case 1: create();             break;      case 2: print();             break;      case 3: //append()             ;      } }while(true);    } void print() {ifstream in; int id,i,count=0; double number,total,num[50],average; char filename[30]; coutfilename; in.open(filename); if(in.fail())                   { cout