Using Structures in C, write an interactive program to display the pay-slips for 10 employees working in a small departmental stores.
Note: Assumptions can be made wherever necessary and mention them.
#include <stdio.h>
#define MAX_EMPLOYEES 10
struct Employee {
int id;
char name[50];
float basic_salary;
float hra;
float da;
float pf;
float net_salary;
};
void calculate_net_salary(struct Employee *employee) {
____ _____ ___ ___ ________ _____ ______ ________.
______ ___ _________ ______ ______ ____ ___ _____ ___ _______ ___.
___ ____ ______ ___ ________.
__________ _______ _________ _________ ________ ___ ___ _______.
__________ ____ ________ ________ ____ _________ _____ __________ _____ ___ _______.
________ _________ ________ _____ __________.
______ __________ ________ ______ ______ _______ ___ ____ _______.
___ _____ ______ _______ _____.
___ ____ _______ __________ ______ _______.
__________ ___ ________ ________ _______ __________ _____ ______ ____ __________.
________ ________ ____ ____ ______ ___ ______ ____ __________ _______.
________ _________ _________ ___ _____ ___ ________ __________ _____ ______.
_____ ____ __________ _______ ____ ___ __________ _____ __________ ______ ___.
________ ______ ____ _______ ___ _____ ____ ___ _________.
______ ____ ____ ________ ____.
_____ ______ _________ __________ ______ _____ _____ ____ ____ ___.
_______ __________ __________ ___ _________ __________ __________ __________.
_____ ________ ______ _________ _______ __________ ____ _____ __________ ________.
_________ ________ _____ _____ ___.
___ _____ _____ _________ ________ _________ _____.
______ ______ ___ __________ ___ ___ ____ __________ ____ _____ _____ __________.
____ __________ _________ ________ ____ ___ _________ _______ ____ ________ ________.
______ _______ ________ __________ _________ ________ _________ _________.
___ ________ _____ _________ ______ ____ ______ ____ __________ _______ ____ ________.
_________ _____ ___ __________ ______ _________ _____.
__________ ________ __________ _____ _______.
__________ ________ ___ __________ _____ ______ _________.
___ _________ ___ _____ _____ ________ _______ ____ ____.
_______ ___ ______ _______ _______ _______ ___ ________ ____ _____ ___ ___.
___ ______ _______ ___ _________ ________ _________.
______ ____ ______ ________ _______ ______ _______.
_______.
Get Full Answer on WhatsApp