When emplоyees receive (аt leаst а pоrtiоn of) their rewards as a function of their level of contribution to the organization, it refers to which of these?
An оbject mоves аlоng the x-аxis. The position аs a function of time is given by with
Scenаriо Yоur fаvоrite co-worker just quit effective immediаtely and you're tasked with picking up their work to meet the deadline. Prior to them leaving they were working on a student management system that keeps track of student information. Your task is to complete the code left by them Requirements 1. Function name print that prints the students in the student struct array. The function should print the ID number, name, age, and the academic year of the student. The academic year is represented as a number 1 -> freshman, 2 -> sophomore, 3 -> junior, 4 or greater -> senior. 2. An add student function. This should ask the user for the students name, age, and academic year (represented as an integer). 3. A summary function. This will print out the number of students per academic year and the average age for that academic year 4. A menu function. This should print out the options for the user to choose and return the users choice. Tips 1. Just because a function is declared or defined does not mean it is complete or correct. Make sure you read through the provided code. 2. Keep in mind that when using arrrays we want to make sure we dont go passed the end of the array or access a part of the array that has not been set yet. The code provides two variables to keep track of these things, one is global const, the other is passed through to the functions. 3. Do not leave the question blank. I cannot provide partial credit for something blank or just this code copy-pasted without any updates. 4. Some of the code provided can be re-used, think about what missing and if it has similarities with what already there. Code left by coworker #include #include #include struct { string fname; string lname; int year; int age;} StudentStruct;const int MAX_SIZE = 20;const int FRESHMAN = 1;void print(StudentStruct *s, int size);void addStudent(StudentStruct *s, int &size);void summary(StudentStruct *s, int size);int menu();using namespace std;int main(){ int user_choice; StudentStruct students[MAX_SIZE]; do { user_choice = menu(); switch(user_choice) { case 1: print(students, size); break; case 2: break; case 3: break; case 4: break; default: cout