EMPLOYEE MANAGEMENT SYSTEM
In this project, we maintain the details of all employees and their children using nesting of
structures. Consider each employee has four children and all are studying.
The members of Employee structure are:
1. ID
2. Name
3. Age
4. Gender
5. Salary
6. Struct children
The members of Children structure are:
1. Name
2. Age
3. Percentage
Here, You need to
1. List all the employees whose salary is > 20000
2. List all employees whose all children got > 75%.
VOTING SYSTEM
A candidate can stand in elections in 3 different regions. Design a voting system that allow
you to enter the name of candidate, age and the number of votes received in each region.
This can be implemented using array as a member in structure
The members of candidate structure are
1. Name
2. Age
3. Votes[3]
Write a program to do the following:
1. Add a new candidate
2. Compute and display the total number of votes received by each candidate in all 3
regions
Simple questions on structures concept

Simple questions on structures concept

  • 1.
    EMPLOYEE MANAGEMENT SYSTEM Inthis project, we maintain the details of all employees and their children using nesting of structures. Consider each employee has four children and all are studying. The members of Employee structure are: 1. ID 2. Name 3. Age 4. Gender 5. Salary 6. Struct children The members of Children structure are: 1. Name 2. Age 3. Percentage Here, You need to 1. List all the employees whose salary is > 20000 2. List all employees whose all children got > 75%. VOTING SYSTEM A candidate can stand in elections in 3 different regions. Design a voting system that allow you to enter the name of candidate, age and the number of votes received in each region. This can be implemented using array as a member in structure The members of candidate structure are 1. Name 2. Age 3. Votes[3] Write a program to do the following: 1. Add a new candidate 2. Compute and display the total number of votes received by each candidate in all 3 regions