Question

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.

15 Sep 2022
Answer :
Word Count : 313

#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

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Using Structures in C, write an interactive program to display the pay
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→