1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kolbaska11 [484]
4 years ago
8

Write a Java program that calculates and prints the monthly pay check for an employee. The net pay is calculated after taking th

e following deductions:
Federal Income Tax: 15%
State Tax: 3.5%
Social Security Tax: 5.75%
Medicare/Medicaid Tax: 2.75%
Pension Plan: 5%
Health Insurance: $75.00
Computers and Technology
1 answer:
ycow [4]4 years ago
8 0

Answer:

  import java.util.Scanner;

public class salary{

    public static void main(String []args){

       

       System.out.println("Enter the monthly pay: ");

       Scanner scn = new Scanner(System.in);

       double salary = scn.nextDouble();

       double result = salary-(salary*0.15*0.035*0.0575*0.0275*0.05)-75;

       

        System.out.println("The net salary is: "+result);

    }

}

Explanation:

first import the Scanner class for taking the input from user.

then, create the main function and print the message for enter the salary from user.   scn.nextDouble() store the value enter by user into the result.

after that, calculate the net salary by calculating the deduction amount and then subtract with salary.

finally, print the result on the screen.

You might be interested in
Fill in the blank with the correct response.
SCORPION-xisa [38]
Higher Resolution i guess it depends on what it’s requiring
3 0
3 years ago
What parts make cars a system?
NeTakaya
<span>This is a list of automotive parts mostly for vehicles using internal combustion engines which are manufactured components of automobiles: Contents. [hide]. 1 Body and main parts. 1.1 Doors; 1.2 Windows. 2 Electrical and electronics. 2.1 Audio/video devices; 2.2 Cameras; 2.3 Charging system; 2.4 Electrical ...</span><span>
</span>
7 0
3 years ago
Read 2 more answers
55555,5555,555,55,5​
REY [17]

Answer: Decreasing Function????????????????????????????????

Explanation:

I'm confused, but I'm still gonna try and answer

6 0
3 years ago
The Smith family has five children who work in a variety of careers. They include a Building Designer, an Astrophysicist, a Comp
Viefleur [7K]

The correct answer is the Science, Technololy, Engineering and Math career cluster.

All of the five careers that are listed fall into the career cluster that is called Science, Technology, Engineering and Math. People working in this career cluster could work in science labs, design products and systems, or support scientists or mathematicians in their work.

7 0
3 years ago
Read 2 more answers
Your teacher needs to keep track of a biology experiment's results for all students, to help calculate the grades. Which applica
IRISSAK [1]

Answer:

I think notepad is best suited for this task...

3 0
4 years ago
Read 2 more answers
Other questions:
  • Write a function named print_backward that accepts a String as its parameter and prints the characters in the opposite order. Fo
    12·1 answer
  • For local travel addresses and street names should be
    14·1 answer
  • White arrows in the middle of the lane indicate whether the lane must __________.
    8·2 answers
  • How many questions do you need to have on brainly before being able to send messages?
    14·1 answer
  • What do green squiggly lines under text indicate?
    14·1 answer
  • 1)What is Big Data?
    14·1 answer
  • What is a common citation style used by students for English classes?
    5·1 answer
  • Name:
    13·1 answer
  • One security component that doubles as a network component
    5·2 answers
  • Your task is to design a method int[] allMatches(int[] values, int size, int a, int b) that returns all values between a and b i
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!