Question
please include the shape of the flowchart and draw it this is a c++ code An employee is paid on an hourly basis. Write a
please include the shape of the flowchart and draw it
this is a c++ code
An employee is paid on an hourly basis. Write a C-language program that accepts an employee's ID number, his rate per hour and the number of hours worked for 2 weeks then outputs his gross pay, total deductions, and net pay. Use float as datatype. Use the following formula: GROSS PAY (2 weeks) = rate per hour* no. of hours worked (note: an employee can work for maximum of 8 hrs per day only) DEDUCTIONS: Tax deduction using Function pass-by-value if Gross pay: 30000: 17% SSS = 900 PHILHEALTH = 150 PAG IBIG = 150 TOTAL DEDUCTIONS = tax + sss+philhealth + pagibig NET PAY = gross pay - total deductions
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 StartedRecommended Textbook for
Modern Database Management
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
12th edition
133544613, 978-0133544619
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App