Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Program 1. Gross Pay Write a program to fetch employee name and the salary. Calculate the Federal tax and state tax based on the following criteria:

Program 1.

Gross Pay

Write a program to fetch employee name and the salary. Calculate the Federal tax and state tax based on the following criteria:

If the salary is greater than 100000 then calculate the federal tax at 20% otherwise calculate the federal tax at 15%

Calculate the state tax at 5%

Calculate the net salary of the employee. To calculate the net salary, subtract federal and state tax from the gross salary.

Program 2.

Write a program to:

  • Ask the student for  3 exam scores.
  • Calculate the average score.
  • Using a bunch of IF conditions, the computer should determine the grade and display the grade to the user. Use the following Criteria:

     If Average >= 90… Assign the grade “A”

     If Average >=80 and Average<90 then assign the grade “B”

     If Average>=70 and Average< 80 then assign the grade “C”

     If Average is less than 70, assign grade “F”

  • Display the grade back to the student.

Program 3

Using For..

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question