Question
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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
An Introduction to the Mathematics of Financial Derivatives
Authors: Ali Hirsa, Salih N. Neftci
3rd edition
012384682X, 978-0123846822
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App