Question
A railway employee is paid 1200/- (rupees) per day for regular 8 hours of work. Any hours over that are paid overtime rate of 100/-
A railway employee is paid 1200/- (rupees) per day for regular 8 hours of work. Any hours over that are paid overtime rate of 100/- per hour. From the employee's gross pay (total pay per month), 2% is deducted for professional tax, 10% for provident fund and 5% for income tax. However, the employee will get 2% (of the gross pay) for the education of a child. Write program to create structure of employee and read data of 'N' employees as follows:
i)the number of extra hours (which the employee worked during a month)
ii)the number of children the employee has.
The program should output the 'N' employees gross pay (total pay earned by the employee by working) and net take-home pay (after deductions and earning for child education). Assume all months have 30 days.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started