In: Computer Science
Please do in Java source
Social Security Payout. If you’re taking this course, chances are that you’re going to make a pretty good salary – especially 3 to 5 years after you graduate. When you look at your paycheck, one of the taxes you pay is called Social Security. In simplest terms, it’s a way to pay into a system and receive money back when you retire (and the longer you work and the higher your salary, the higher your monthly benefit). Interestingly, your employer will pay the same amount for you. The current tax rate is 6.2% until you make approximately $132,900. For this assignment, we’re going to help out hourly employees. Design (pseudocode) and implement (source code) a program that asks users how much they make per hour, the number of hours they work per week, and calculates the yearly income. For the second half, the program should calculate and display the amount of Social Security tax the user will pay for that year. You must write and use at least two functions in addition to the main function. At least one function must not have a void return type. Note, don’t forget to put the keywords “public” and “static” in front of your functions. Document your code and properly label the input prompt and the outputs as shown below.
Sample run 1: Enter hourly wage: 10
Enter your hours per week: 40
You will earn $20800.0 per year
You will pay $1289.6 in Social Security tax
Sample run 2: Enter hourly wage: 40
Enter your hours per week: 60
You will earn $124800.0 per year
You will pay $7737.6 in Social Security tax

import java.util.Scanner;
public class Social_Security {
public static void main(String[] args) {
Scanner in=new
Scanner(System.in);
System.out.println("Enter hourly
wage: ");
int hr_wage=in.nextInt();
System.out.println("Enter your
hours per week: ");
int hr_week=in.nextInt();
double
income=income_calc(hr_wage,hr_week);
System.out.println("You will earn
"+income+" per year");
double tax=tax_calc(income);
System.out.println("You will pay
"+tax+" in Social Security tax");
}
public static double tax_calc(double income)
{
//return tax;
return income*6.2/100;
}
public static double income_calc(double hr_wage,double
hr_week)
{
//return tax;
return hr_week*hr_wage*52;
}
}