Question: Need help on Java H/W .Thanks This was assignment 7 task 1 below Here is the code for assigment 7 task 1 I will poste
Need help on Java H/W .Thanks


This was assignment 7 task 1 below

Here is the code for assigment 7 task 1
![{ public static void main(String args[]){ double income; double tax; Scanner input](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3217d3ffb6_85266f3217c9b6d8.jpg)

I will poste code below to make it easier.
import java.util.Scanner; public class Income { public static void main(String args[]){ double income; double tax; Scanner input = new Scanner(System.in); System.out.print("Input your income:"); income = input.nextInt();
if(income > 0 && ++income = 6001 && ++income = 27951 && ++income = 67701 && ++income = 141251 && ++income 307050){ tax = income * (38.6/100); System.out.printf("income tax for a single " + "perosn making $%.2f is $%.2f%n", income, tax); } else { System.out.println("Wrong Input; try again."); } } }
LAB ASSIGNMENTS Please focus on the "formatting" of your output. Make sure to prompt the user appropriately and round the output accordingly. UPDATE ASSIGNMENT 7 TASK 1 Create methods for each portion of the program that does the ta alculation se get/set method naming conventions where it applies 1st Task: Write a program that computes a single filer's income tax burden. TAX RATE Single Filers Income Up to $6000 10% 15% $6,001 $27,950 $2.95 $67,700 27% $67,701 $141,250 30% $141,251 $307,050 35% $307, 051 or more 38.6% The user should be able input her Income
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
