Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions