Please help! The FIRST is the fractional positive number, salary; SECOND field is an integer, the number of days worked in a...
...month. Implement the AMOUNT () method-calculation the accrued amount for a given number of days for a given month: salary/day_month*days worked. Implement a class definition in any format. To demonstrate working with the new type of objects in all tasks, you need to write the main function. The program must include various ways of creating objects and arrays of objects are demonstrated. The program must demonstrate the use of all functions and methods. A pair structure is a structure with two fields that usually have the names first and second. You need to implement the data type using this structure. In task must be present: - init initialization method; the method must control the argument values on correctness; - keyboard input is read; - output to the display screen. Implement an external function named make_mun(), where mun is the type of implemented function structures. The function must get values for fields as arguments structures and return a structure of the required type.