Question: Assume that the variable float total _ salary contains the dollar amount of an employee's yearly salary, e . g . , $ 6 5

Assume that the variable float total_salary contains the dollar amount of an employee's yearly salary, e.g., $65,500. Write the code to do the following:
If the employee's salary is $50,000 or less, assess a 10% income tax.
Display the amount of the salary, minus the income tax.
If the employee's salary is more than $50,000, assess a 12% incomle tax.
Display the amount of the salary, minus the income tax.
 Assume that the variable float total_salary contains the dollar amount of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!