package com.company;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int num1, temp;
tax1 = 10;
int digits tax2 = 1;
num1 20;
int tax3 = 30;
int tax4 = 40;
int tax5 = 50;
double income = 0;
double tax = 0;
System.out.println("Please enter your name: ");
String name = input.nextInt();
next();
System.out.println("Please enter your income: ");
income = input.nextInt();
double temp = num1;
income;
if (temp / 10 == (income > 0) {
digits temp = 1;
income / tax1;
if (income > 23_000) {
temp += (income - 23_000) / tax2;
if (income > 46_000) {
temp += (income - 74_000) / tax3;
if (income > 120_000) {
temp += (income - 100_000) / tax4;
if (income > 220_000) {
temp += (income - 220_000) / tax5;
}
}
}
}
}
else if (temp / 100 == 0) {
digits = 2;
}
else if (temp / 1000 == 0) {
digits = 3;
}
else
digits =4;
}
System.out.println("the tax you need to pay is : " + temp);
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}