1. Define and implement a structure of an employee with the following fields: a forename, a surname, a position (being strings) and a salary being a real number. Implement the following methods of the structure:
• the constructor with parameters for the all necessary fields of the employee (some of them may have the default values),
• set & get methods for all the fields of the employee (i.e., getSalary, setSalary, etc.),
• incSalary – increasing the salary of the employee by the value given as a parameter,
• print – printing all the data of the employee.
Test all the structure capabilities – create an array of the employees and let the user manage them.
2. Define the Student structure with the following fields: a forename, a surname (being strings), an index number being an integer number and an array/list of his marks (empty by default, you are allowed to limit the number of students's marks). Implement the following methods of the structure:
• the constructor with parameters for the first three fields of the student with some empty/zero default values,
• set & get methods for the first three fields of the student (i.e., getSurname, setSurname, etc.),
• addMark – adding a new mark (given as a parameter) for the student (check if the mark is correct, e.g. between 2 and 5),
• avgGrade – computing the average grade for the student by calculating the arithmetic mean of his marks,
• print – printing all the data of the student.
Test all the structure capabilities – create an array of the students and let the user manage them.