KnowledgeBoat Logo

Computer Applications

Write a program to calculate the tax for a taxable income of Rs. 4,10,000, if the tax rate is fixed at 3.2%.

Java

Java Intro

64 Likes

Answer

public class KboatTax
{
    public static void main(String args[]) {
        int income = 410000;
        double rate = 3.2;
        double tax = income * rate / 100;
        System.out.println("Tax = " + tax);
    }
}

Output

BlueJ output of Write a program to calculate the tax for a taxable income of Rs. 4,10,000, if the tax rate is fixed at 3.2%.

Answered By

30 Likes


Related Questions