My class did a practice program and worked thru it however i was absent due to illness but i was sent the parameters they used for practice. I attempted it on my own but i was unable to figure it completely but i did get part of it down before completely messing up. These are the parameters for the program.

Define a struct that captures the following information about a student:

• First name

• Last name

• 9-digit ID number

• 5 numeric lab grades

• 5 numeric program grades

• 3 numeric exam grades

• Final numeric grade

You will define an array of 10 students.

Create a function that will populate the array of structures through interactive keyboard input.

Create a separate function that will calculate the final grade for all students, according to the following

formula:

• Labs are worth 25% of the final grade

• Programs are worth 30% of the final grade

• Exams are worth 45% of the final grade

After all calculations for all students are complete, your program should then output each student’s name and

their respective letter grade as follows:

• Students with a final grade of 90 and above earn an A

• Students with a final grade of 80 to 89 earn a B

• Students with a final grade of 70 to 79 earn a C

• Students with a final grade of 60 to 69 earn a D

• Students with a final grade below 60 earn an F

Be sure to include user-input validation.

This is what i have so far.

```
#include <iostream>
#include <string>
using namespace std;
struct Student
{
string firstname;
string lastname;
int idNo;
int labGrades[5];
int programGrade[5];
int examGrades[3];
double finalGrade;
};
double calculateFinal(Student);
int main()
students[10];
```

If someone could help me with this i would greatly appreciate it.