SlideShare a Scribd company logo
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

More Related Content

Similar to Simple questions on structures concept

Jts institute franchisee offer
Jts institute franchisee offer Jts institute franchisee offer
Jts institute franchisee offer
Jts Institute
 
Mh0053 – hospital & healthcare information management
Mh0053 – hospital & healthcare information managementMh0053 – hospital & healthcare information management
Mh0053 – hospital & healthcare information management
smumbahelp
 
A study of awareness of statutory compliance ,ppt
A study of awareness of statutory compliance ,pptA study of awareness of statutory compliance ,ppt
A study of awareness of statutory compliance ,ppt
SumitSingh765
 
Mh0053 – hospital & healthcare information management
Mh0053 – hospital & healthcare information managementMh0053 – hospital & healthcare information management
Mh0053 – hospital & healthcare information management
smumbahelp
 
3 New Strategies to Boost Your Member Onboarding, Engagement, and Retention
3 New Strategies to Boost Your Member Onboarding, Engagement, and Retention3 New Strategies to Boost Your Member Onboarding, Engagement, and Retention
3 New Strategies to Boost Your Member Onboarding, Engagement, and Retention
Wild Apricot
 
RESUME_SEJAL N DAVE
RESUME_SEJAL N DAVERESUME_SEJAL N DAVE
RESUME_SEJAL N DAVESejal Dave
 
AIESEC India Development Tool Training Guide v1.0
AIESEC India Development Tool Training Guide v1.0AIESEC India Development Tool Training Guide v1.0
AIESEC India Development Tool Training Guide v1.0
Sidharth Karwal
 
Hyosms
HyosmsHyosms
Grow Your Business Using Best Compensation Plan
Grow Your Business Using Best Compensation PlanGrow Your Business Using Best Compensation Plan
Grow Your Business Using Best Compensation Plan
Sankalp
 
4 Steps to Building a Smart Compensation Structure
4 Steps to Building a Smart Compensation Structure4 Steps to Building a Smart Compensation Structure
4 Steps to Building a Smart Compensation Structure
PayScale, Inc.
 
company brochure.pptx
company brochure.pptxcompany brochure.pptx
company brochure.pptx
ssuser0bc281
 
Interloop and mobilink HR practices
Interloop and mobilink HR practicesInterloop and mobilink HR practices
Interloop and mobilink HR practices
Ahmad Roqash
 
Ad
AdAd
AIESEC Academy | RaMaRe
AIESEC Academy | RaMaReAIESEC Academy | RaMaRe
AIESEC Academy | RaMaReaiesecacademy
 
Open enrollment training april 2015
Open enrollment training april 2015Open enrollment training april 2015
Open enrollment training april 2015
SentricTraining
 
Modernizing our Voter Registration System to Awaken Indian Democracy
Modernizing our Voter Registration System to Awaken Indian DemocracyModernizing our Voter Registration System to Awaken Indian Democracy
Modernizing our Voter Registration System to Awaken Indian Democracy
arish rajan
 
You are working as a behavior consulting intern. Your company’s on.docx
You are working as a behavior consulting intern. Your company’s on.docxYou are working as a behavior consulting intern. Your company’s on.docx
You are working as a behavior consulting intern. Your company’s on.docx
jeffevans62972
 
insurance persentation softwareCode.pptx
insurance persentation softwareCode.pptxinsurance persentation softwareCode.pptx
insurance persentation softwareCode.pptx
RishiYadav521258
 

Similar to Simple questions on structures concept (20)

Jts institute franchisee offer
Jts institute franchisee offer Jts institute franchisee offer
Jts institute franchisee offer
 
Mh0053 – hospital & healthcare information management
Mh0053 – hospital & healthcare information managementMh0053 – hospital & healthcare information management
Mh0053 – hospital & healthcare information management
 
A study of awareness of statutory compliance ,ppt
A study of awareness of statutory compliance ,pptA study of awareness of statutory compliance ,ppt
A study of awareness of statutory compliance ,ppt
 
Mh0053 – hospital & healthcare information management
Mh0053 – hospital & healthcare information managementMh0053 – hospital & healthcare information management
Mh0053 – hospital & healthcare information management
 
3 New Strategies to Boost Your Member Onboarding, Engagement, and Retention
3 New Strategies to Boost Your Member Onboarding, Engagement, and Retention3 New Strategies to Boost Your Member Onboarding, Engagement, and Retention
3 New Strategies to Boost Your Member Onboarding, Engagement, and Retention
 
RESUME_SEJAL N DAVE
RESUME_SEJAL N DAVERESUME_SEJAL N DAVE
RESUME_SEJAL N DAVE
 
Rajnish pal
Rajnish palRajnish pal
Rajnish pal
 
AIESEC India Development Tool Training Guide v1.0
AIESEC India Development Tool Training Guide v1.0AIESEC India Development Tool Training Guide v1.0
AIESEC India Development Tool Training Guide v1.0
 
Hyosms
HyosmsHyosms
Hyosms
 
Grow Your Business Using Best Compensation Plan
Grow Your Business Using Best Compensation PlanGrow Your Business Using Best Compensation Plan
Grow Your Business Using Best Compensation Plan
 
4 Steps to Building a Smart Compensation Structure
4 Steps to Building a Smart Compensation Structure4 Steps to Building a Smart Compensation Structure
4 Steps to Building a Smart Compensation Structure
 
company brochure.pptx
company brochure.pptxcompany brochure.pptx
company brochure.pptx
 
Interloop and mobilink HR practices
Interloop and mobilink HR practicesInterloop and mobilink HR practices
Interloop and mobilink HR practices
 
C & B Paper
C & B PaperC & B Paper
C & B Paper
 
Ad
AdAd
Ad
 
AIESEC Academy | RaMaRe
AIESEC Academy | RaMaReAIESEC Academy | RaMaRe
AIESEC Academy | RaMaRe
 
Open enrollment training april 2015
Open enrollment training april 2015Open enrollment training april 2015
Open enrollment training april 2015
 
Modernizing our Voter Registration System to Awaken Indian Democracy
Modernizing our Voter Registration System to Awaken Indian DemocracyModernizing our Voter Registration System to Awaken Indian Democracy
Modernizing our Voter Registration System to Awaken Indian Democracy
 
You are working as a behavior consulting intern. Your company’s on.docx
You are working as a behavior consulting intern. Your company’s on.docxYou are working as a behavior consulting intern. Your company’s on.docx
You are working as a behavior consulting intern. Your company’s on.docx
 
insurance persentation softwareCode.pptx
insurance persentation softwareCode.pptxinsurance persentation softwareCode.pptx
insurance persentation softwareCode.pptx
 

More from Lakshmi Sarvani Videla

Data Science Using Python
Data Science Using PythonData Science Using Python
Data Science Using Python
Lakshmi Sarvani Videla
 
Programs on multithreading
Programs on multithreadingPrograms on multithreading
Programs on multithreading
Lakshmi Sarvani Videla
 
Menu Driven programs in Java
Menu Driven programs in JavaMenu Driven programs in Java
Menu Driven programs in Java
Lakshmi Sarvani Videla
 
Recursion in C
Recursion in CRecursion in C
Recursion in C
Lakshmi Sarvani Videla
 
Errors incompetitiveprogramming
Errors incompetitiveprogrammingErrors incompetitiveprogramming
Errors incompetitiveprogramming
Lakshmi Sarvani Videla
 
Relational Operators in C
Relational Operators in CRelational Operators in C
Relational Operators in C
Lakshmi Sarvani Videla
 
Recursive functions in C
Recursive functions in CRecursive functions in C
Recursive functions in C
Lakshmi Sarvani Videla
 
Function Pointer in C
Function Pointer in CFunction Pointer in C
Function Pointer in C
Lakshmi Sarvani Videla
 
Functions
FunctionsFunctions
Java sessionnotes
Java sessionnotesJava sessionnotes
Java sessionnotes
Lakshmi Sarvani Videla
 
Singlelinked list
Singlelinked listSinglelinked list
Singlelinked list
Lakshmi Sarvani Videla
 
Graphs
GraphsGraphs
B trees
B treesB trees
Functions in python3
Functions in python3Functions in python3
Functions in python3
Lakshmi Sarvani Videla
 
Dictionary
DictionaryDictionary
Sets
SetsSets
Lists
ListsLists
DataStructures notes
DataStructures notesDataStructures notes
DataStructures notes
Lakshmi Sarvani Videla
 
Solutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structuresSolutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structures
Lakshmi Sarvani Videla
 

More from Lakshmi Sarvani Videla (20)

Data Science Using Python
Data Science Using PythonData Science Using Python
Data Science Using Python
 
Programs on multithreading
Programs on multithreadingPrograms on multithreading
Programs on multithreading
 
Menu Driven programs in Java
Menu Driven programs in JavaMenu Driven programs in Java
Menu Driven programs in Java
 
Recursion in C
Recursion in CRecursion in C
Recursion in C
 
Errors incompetitiveprogramming
Errors incompetitiveprogrammingErrors incompetitiveprogramming
Errors incompetitiveprogramming
 
Relational Operators in C
Relational Operators in CRelational Operators in C
Relational Operators in C
 
Recursive functions in C
Recursive functions in CRecursive functions in C
Recursive functions in C
 
Function Pointer in C
Function Pointer in CFunction Pointer in C
Function Pointer in C
 
Functions
FunctionsFunctions
Functions
 
Java sessionnotes
Java sessionnotesJava sessionnotes
Java sessionnotes
 
Singlelinked list
Singlelinked listSinglelinked list
Singlelinked list
 
Graphs
GraphsGraphs
Graphs
 
B trees
B treesB trees
B trees
 
Functions in python3
Functions in python3Functions in python3
Functions in python3
 
Dictionary
DictionaryDictionary
Dictionary
 
Sets
SetsSets
Sets
 
Lists
ListsLists
Lists
 
DataStructures notes
DataStructures notesDataStructures notes
DataStructures notes
 
Solutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structuresSolutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structures
 
C programs
C programsC programs
C programs
 

Recently uploaded

Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 

Recently uploaded (20)

Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 

Simple questions on structures concept

  • 1. 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