Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that calculates Federal and CA State tax based on gross income that was input from user. The program should print the gross

Write a program that calculates Federal and CA State tax based on gross income that was input from user. The program should print the gross income, federal tax mount, state tax amount and net income (earnings after tax deduction).

Use Scanner class to read user input.

Import: import java.util.Scanner;

Scanner object: Scanner scan = new Scanner(System.in);

State Tax: %4 of the gross income.

Federal Rate For Individuals

10% up to $10,000

15% from $10,000 to $50,000

20% from $50,000 to $100,000

25% above $100,000

Step by Step Solution

3.29 Rating (167 Votes )

There are 3 Steps involved in it

Step: 1

import javautilScanner public class FederalState... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

An Introduction to the Mathematics of Financial Derivatives

Authors: Ali Hirsa, Salih N. Neftci

3rd edition

012384682X, 978-0123846822

More Books

Students also viewed these Programming questions

Question

Does the series converge as N ? n=1

Answered: 1 week ago