Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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


student submitted image, transcription available below 

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

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Programming questions

Question

Which product is ordered most frequently?

Answered: 1 week ago

Question

When would a packaged data model be useful?

Answered: 1 week ago