Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Need help programming! ( JCreator )?
Ok this is a class project I need help with.
This is Question #3 on the paper that I'm doing.
3. Write a program which will enable the user to determine the net pay amount of their paycheck based on the number of hours they worked. Assume that they are paid on an hourly basis and that the hourly rate is declared as a constant (12.75). You will also need to deduct taxes from their check. Assume that 25% of their pay goes to taxes and declare that percentage as a constant.
Here is a sample run of this program:
How many hours did you work this week? 35
Here is your pay stub:
Hours Worked: 35
Hourly Wage: 12.75
Gross Pay: 446.25
Taxes Deducted: 111.563
Net Pay: 334.688
This is used in JCreator