Computer Science, asked by Anonymous, 8 months ago

Write a program to input license number, total monthly income of a shopkeeper. Find the annual income , 20% of the annual income as discount . Find the taxable income excluding the discount and then 1% education tax on the taxable income then finally calculate the total tax to be paid including education ta. Print the license number, annual income , discount ,taxable income , education tax and the total tax.

Answers

Answered by Anonymous
6

Answer:

public static double incomeTax(double income){

if(income <= 7500){

income = income * 0;

}

else if(income >= 7501 && income <= 45000){

income = income * 0.8;

}

else(income >= 45001){

income = income * 0.6;

}

return income;

}

Similar questions