Problem Statement 2
Write a program that calculates the net pay of an employee based on the number of hours the employee has worked. Assume an hourly rate of $12 with a tax rate of 15%.
SAMPLE INPUT
Number of hours worked: 200
SAMPLE OUTPUT
Net Pay: 2040
Sample Program:
Sample Output:
Enter the no of hours employee has worked:
200
Employee total salary amount:
2040
Any queries leave a comment please and thanks for reading this post.