Your program should: display an informative title prompt the user for the number
ID: 3613492 • Letter: Y
Question
Your program should:
display an informative title
prompt the user for the number of hours worked
prompt the user for the hourly pay rate
use the values that the user entered to calculate the gross pay,social security tax withheld, withholding tax, and net pay
display the various calculated values, one per line with anappropriate label.
The GrossPay is calculated as number of hoursworked times the hourly pay rate. For this assignment, we arekeeping this calculation simple.
The Social Security Tax Withheld iscalculated as 8% of the Gross Pay.
The Withholding Tax is calculated as10% of the Gross Pay.
The Net Pay is calculated as Gross Payminus Social Security Tax Withheld minus Withholding Tax.
Explanation / Answer
please rate - thanks this is the old one #include #include using namespace std; int main() {double hours,rate,gross,ss,with,net; couthours; coutrate; gross=hours*rate; ss=gross*.08; with=gross*.1; net=gross-ss-with; coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.