Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a program that will compute for the net income of a particular employee. Input the employee name, position, number of days worked, and

image text in transcribed 

Design a program that will compute for the net income of a particular employee. Input the employee name, position, number of days worked, and position code. The position has three categories: if Manager, rate per day is P500; if Supervisor, P400; if Employee, P300. Then after accepting the rate per day, compute gross rate per day no. of days worked, compute for the bonus, if gross is >8000, bonus 1000; if gross> 5000, bonus 750; if gross >3000, bonus 500; if less, bonus = 0; compute for the deductions: SSS is always 10% of gross ; Medicare is always P100; and TAX, if gross >= 7000, tax = 15% of gross; if gross >4000, tax 10% of gross, if gross >=2000, tax 5% of gross. Then, compute for Net Income gross + bonus - total deduction. Then, display the net income. Note: The number of days worked should not exceed 15 days. All other entries, should be invalid and therefore no computation should be made then the program must be terminated.

Step by Step Solution

3.36 Rating (149 Votes )

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 And Managerial Accounting The Basis For Business Decisions

Authors: Jan Williams, Susan Haka, Mark Bettner

20th Edition

1264445245, 9781264445240

More Books

Students also viewed these Accounting questions

Question

Explain the relationship between thoughts, feelings, and actions.

Answered: 1 week ago