can someone help me or tell me why I am getting these errors. where I have gone wrong again
public static void main(String[] args) {
Scanner read = new Scanner (System.in);
double taxable_income, income, tax, sum;
System.out.println("Please enter taxable income");
taxable_income = read.nextDouble();
System.out.println("Please enter income");
income = read.nextDouble();
if(taxable_income >=100&&<=446199)
{
System.out.println("print taxable_income is nil");
}
else if(taxable_income >446299&&<1789399) - am getting a red line here
{
tax = (income - 446200)*30;
System.out.println("print tax payable");
}
else if(taxable_income >1789400<2949944)
{
tax = (income -1789400)*35 + 4119;
System.out.println ("taxable payable");
}
if(taxable_income >2950000&&<4578799) _ am getting a red line here
{
tax = (income - 2950000)* 46 + 8656;
System.out.println("print taxable payable");
}
else if(taxable_income >4578800)- getting a red line here
{
tax = (income - 4578800)* 60 + 1117900;
System.out.println("print taxable payable ");
}
any help would be very much appreciated. thanks a lots