struct Employee {
int emp_id; // Unique employee ID
char name[50]; // Employee name
float basic_salary; // Basic salary amount
float tax; // Tax deducted
float net_salary; // Net salary after tax
};
Explanation of fields:
struct Employee {
int emp_id; // Unique employee ID
char name[50]; // Employee name
float basic_salary; // Basic salary amount
float tax; // Tax deducted
float net_salary; // Net salary after tax
};
Explanation of fields: