Answered step by step
Verified Expert Solution
Question
1 Approved Answer
WP Daily Health Screening and Bb Lab Assignments - 202110- X Search Textbook Solutions X f Facebook + 0 X facebook.com/messenger_media/?thread_id=100042909431400&attachment_id=1... R Paused OBJECT: tax
WP Daily Health Screening and Bb Lab Assignments - 202110- X Search Textbook Solutions X f Facebook + 0 X facebook.com/messenger_media/?thread_id=100042909431400&attachment_id=1... R Paused OBJECT: tax rate. To compute the net pay of an employee, given his/her pay rate, number of hours, and INPUT: his/her name, pay rate, and number of hours. You will prompt the user with a friendly message to enter the employee's name, pay rate and number of hours. Note that you must use the dash (-) to connect the first name to the last name so that the name can be read using the cin statement. For example, John-Doe OUTPUT: the employee's gross pay, tax deduction, and net pay. For example: Name: Your gross pay is: Your tax deduction is: Your net pay is: John-Doc 900.00 90.00 810.00 METHOD: the gross pay the pay rate the number of hours. The tax deduction is computed as follows: If the gross pay is less than 1000.00, it is 10% of the total pay; otherwise, it is 15% of the gross pay. The net pay is the gross pay minus the tax deduction TOPICS: input with cin; formatted output with cout, program documentation, proper program indentations; and two-way selection structures, You must return the following in this order): 1. The program source file 2. The program output. ENG 3:03 AM 3/4/2021
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