#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Define a union to hold either full-time salary or part-time hourly rate
union EmployeeData {
    int full_time_salary;
    float part_time_hourly_rate;
};

// Define a structure for an employee
struct Employee 
{
    char name[50];
    int id;
    int type; // 1 for full-time, 2 for part-time
    union EmployeeData data;
};