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

in c++ language wire the entire declaration component that would for the followi

ID: 3548759 • Letter: I

Question

in c++ language



wire the entire declaration component that would for the followin(assume that a program is to be wrirrten that produces the following grade report)


c++ ProgrammingGrade

report date : 5/7/2012


Student Name         ID#     Average   Letter Grade     GPA

Joe Student             77731   87.5          b                         3.20

Jane Glent               37431   821           b                       3.02

Bull Dluer                  11355  74.5          c                        2.48

Mary Joe                      61442    98.3       a                       3.74


Each array must accomdate 40 components.

you must define an array for each data type necessary using those definition you must declare variables for all arrays that will be used.

Be sure to include a subscript variable in your declaration as well as the variable fo rthe date and an array size

Create your own names for any variables declared and any data types defined.

Explanation / Answer

c++ ProgrammingGrade
report date : 5/7/2012
Student Name ID# Average Letter Grade GPA
Joe Student 77731 87.5 b 3.20
Jane Glent 37431 821 b 3.02
Bull Dluer 11355 74.5 c 2.48
Mary Joe 61442 98.3 a 3.74

//variable to hold Course title.
string course_title;

struct date
{
int day;
int month
int year;
}
// variable to hold DATE.
date today_date;

//variable to hold maximum number of students
const int MAX = 40;

// variable array to hold Student first name
string first_name[MAX];

// variable array to hold Student last name
string last_name[MAX];

// variable array to hold Student ID
int ID[MAX];

// variable array to hold Student Average
double average[MAX];

// variable array to hold Grade letter
char grade_letter[MAX];

// variable array to hold Grade GPA
double grade_gpa[MAX];