/****************************************************************************** * This program computes the combined FICA taxes. * * Copyright © 2020 Richard Lesh. All rights reserved. *****************************************************************************/ import org.pureprogrammer.Utils; public class CombinedFICATax { static final double FICA_RATE = 0.0765; static final double GROSS_PAY = 1000; public static void main(String[] args) { double ficaTax = GROSS_PAY * FICA_RATE; double netPay = GROSS_PAY - ficaTax; System.out.println(Utils.join("", "Gross Pay: ", GROSS_PAY)); System.out.println(Utils.join("", "FICA Tax: ", ficaTax)); System.out.println(Utils.join("", "Net Pay: ", netPay)); } }