Question

Write a program in Java for a person who is making $96,000 per year and paying...

Write a program in Java for a person who is making $96,000 per year and paying 35% all taxes ( 24% Federal, 6% State, 5% others), pay 8% for assurance, 3% for retirement.

a) Calculate all deduction for a month and a year.

b) Calculate monthly salary before and after deduction.

c) Calculate yearly income after deduction.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

import java.io.*;

class GFG {
   public static void main (String[] args) {
       float yearlyIncome=96000;
       float yearlyTax = (96000*35)/100;
       float yearlyAssurance =(96000*8)/100;
       float yearlyRetirement =(96000*3)/100;
      
      
       System.out.println("Monthly deductions:");
       System.out.print("Monthly Tax:\t\t"+(yearlyTax/12)+"\nMonthly Assurance:\t"+(yearlyAssurance/12)+"\nMonthly Retirement:\t"+(yearlyRetirement/12)+"\n\n");
      
       System.out.println("Yearly deductions:");
       System.out.print("Yearly Tax:\t\t"+(yearlyTax)+"\nYearly Assurance:\t"+(yearlyAssurance)+"\nYearly Retirement:\t"+(yearlyRetirement)+"\n\n");
      
       System.out.println("Monthly Salary before deductions:\t"+(yearlyIncome/12));
       float sum = yearlyRetirement + yearlyAssurance + yearlyTax;
       System.out.println("Monthly Salary after deductions:\t"+((yearlyIncome/12)-(sum/12))+"\n");
      
       System.out.println("Yearly Income after deductions: \t"+(yearlyIncome - sum));
   }
}

Add a comment
Know the answer?
Add Answer to:
Write a program in Java for a person who is making $96,000 per year and paying...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write a Java program that calculates how much a person would earn after a period of...

    Write a Java program that calculates how much a person would earn after a period of time, according to the following rules: 1. The starting salary for the first day is $1. 2. The salary will double each day. Ask the user to input the number of days worked. The output should display how much the salary was for each day worked, and show the total pay at the end of the work period. Get output similar to the sample...

  • Write a Java application with a class name of Payroll, for the “Travel Agency”, that willCalculate...

    Write a Java application with a class name of Payroll, for the “Travel Agency”, that willCalculate the weekly paycheck for both Salaried and Hourly employees. Salaried employees will be paid 1/52 of their annual pay minus 18% withheld for federal and state taxes, as well as 4% for retirement pension. Salaried employees do not collect overtime pay. There are two types of Hourly employees; permanent employees and temporary weekly employees. •Permanent weekly employees will be paid their hourly rate minus...

  • Please can someone help me with making this program in JAVA implementing classes. Also, include loops...

    Please can someone help me with making this program in JAVA implementing classes. Also, include loops and selection structures. A mobile service provider has three different subscription packages for its customers: Package A: For $50 per month, 5 GB data are provided. Additional data is $15 per GB. Package B: For $65 per month, 10 data are provided. Additional data is $10 per GB. Package C: For $75 per month unlimited data provided. Text messaging and voice services are included...

  • 1.1 Milton Friedman's negative income tax proposal: has the advantage that a person with a job...

    1.1 Milton Friedman's negative income tax proposal: has the advantage that a person with a job is better off the more money (s)he makes. has the disadvantage that a person is better off not working rather than being on the negative income tax program. is the same in nature as the current federal welfare programs, and has proven ineffective to solve poverty. is favored by many Democrats and Republicans and is expected to pass in Congress next year. satisfies all...

  • In 2019, Rory earns $74,000 per year as a college professor, paying $6,771 in federal income...

    In 2019, Rory earns $74,000 per year as a college professor, paying $6,771 in federal income taxes. Latesia is a marketing executive with a salary of $144,000 who paid $22,879 in federal taxes. In addition, Latesia collected $100,000 on a life insurance policy. Both taxpayers are single and take the 2019 standard deduction. Compute the following for the two taxpayers. Note: Round the total taxes to two decimal places. Enter percentages to one decimal. a. With respect to the Social...

  • 3% Latisha is graduating from Queens College next semester and she just landed a job at...

    3% Latisha is graduating from Queens College next semester and she just landed a job at a hospital as a compliance manager. She is excited at the prospect of this new opportunity. She would like to get more organized financially because she believes her new salary will now allow her to move into her own place. She talks to her friend, Brad, who sends her his monthly budget. It is a good place to start. Rent in the Bronx, however,...

  • (JAVA Please) Program 1: FICA!? What’s FICA? If you’re taking this course, chances are that you’re...

    (JAVA Please) Program 1: FICA!? What’s FICA? 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 FICA – or Federal Insurance Contributions Act. In simplest terms, it’s what funds our Social Security and Medicare systems (and the more that you work, the more you get). Interestingly, your employer will pay...

  • Lee Financial Services pays employees monthly Payroll information is listed below for January 2021, the first...

    Lee Financial Services pays employees monthly Payroll information is listed below for January 2021, the first month of Lee's fiscal year. Assume that none of the employees exceeded any relevant base of pay, such that all benefit percentages apply to the entire $480,000 payroll Salaries Federal income taxes to be withheld Federal unemployment tax rate State unemployment tax rate (after SUTA deduction) Social security tax rate Medicare tax rate $480,000 96,000 0.60% 5.40% 6.20% 1.45% Required: Calculate the income and...

  • Start Smart Preschool operates a not-for-profit moming preschool that operates eight months of the year. The pres...

    Start Smart Preschool operates a not-for-profit moming preschool that operates eight months of the year. The preschool has 180 kids enrolled in its various programs. The preschool's primary expense is payroll Teachers are paid a flat salary each of the eight months as follows: Click the icon to view salary data) Click the loon to view additional information) Requirements 1. Prepare Start Smart Preschool's monthly operating budget. Round all amounts to the nearest dollar 2. Using your answer from Requirement...

  • 3% 4% Latisha is graduating from Queens College next semester and she just landed a job...

    3% 4% Latisha is graduating from Queens College next semester and she just landed a job at a hospital as a compliance manager. She is excited at the prospect of this new opportunity. She would like to get more organized financially because she believes her new salary will now allow her to move into her own place She talks to her friend, Brad, who sends her his monthly budget. It is a good place to start. Rent in the Bronx,...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT