In order to assist their married staffs who gets into financial problem due to CoVid 19 panden Company MLM is planning to give a one-time monetary assistance to those who deserve it. Write Python program to key in the staff ID, salary of 20 employees, marital status and their number of kids; a display the summary of the assistance in the form of -the total allocation for each category -total number of employees who are eligible to receive assistance based on the following criteria: Category Salary Number of kids Entitlement Requirement (RM) (RM) 1200 Non-Executive <= 2500 More than 1 1800 Executive 2501 to 4000 800 More than 1 1200 500 750 Senior Executive 4001 to 5000 More than 1 Manager >5001 The composition of staffs in Company MLM is as below: • Manager-2 peoples-Both married with no kids • Senior Executive-3 peoples-1 married with more than 1 kids, 2 still single Executive-5 peoples-All are still single • Non-Executive-10 peoples-5 married with more than 1 kid, 5 still single

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%
In order to assist their married staffs who gets into financial problem due to CoVid 19 pandemic,
Company MLM is planning to give a one-time monetary assistance to those who deserve it. Write a
Python program to key in the staff ID, salary of 20 employees, marital status and their number of kids; and
display the summary of the assistance in the form of
-the total allocation for each category
-total number of employees who are eligible to receive assistance based on the following criteria:
Number of kids
Entitlement
Salary
Requirement (RM)
Category
(RM)
1200
Non-Executive
<= 2500
More than 1
1800
Executive
2501 to 4000
800
More than 1
1200
Senior Executive
4001 to 5000
500
More than 1
750
Manager
>5001
The composition of staffs in Company MLM is as below:
• Manager-2 peoples-Both married with no kids
• Senior Executive-3 peoples-1 married with more than 1 kids, 2 still single
• Executive-5 peoples-All are still single
Non-Executive-10 peoples-5 married with more than 1 kid, 5 still single
Transcribed Image Text:In order to assist their married staffs who gets into financial problem due to CoVid 19 pandemic, Company MLM is planning to give a one-time monetary assistance to those who deserve it. Write a Python program to key in the staff ID, salary of 20 employees, marital status and their number of kids; and display the summary of the assistance in the form of -the total allocation for each category -total number of employees who are eligible to receive assistance based on the following criteria: Number of kids Entitlement Salary Requirement (RM) Category (RM) 1200 Non-Executive <= 2500 More than 1 1800 Executive 2501 to 4000 800 More than 1 1200 Senior Executive 4001 to 5000 500 More than 1 750 Manager >5001 The composition of staffs in Company MLM is as below: • Manager-2 peoples-Both married with no kids • Senior Executive-3 peoples-1 married with more than 1 kids, 2 still single • Executive-5 peoples-All are still single Non-Executive-10 peoples-5 married with more than 1 kid, 5 still single
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Returning value from Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education