Computer Science, asked by Anhad007, 8 months ago

Write a program in java to enter basic salary and calculate

gross salary.

Answers

Answered by dipakbanjara2
0

Explanation:

Import the Scanner.

Declare the class as public.

Add the void main function.

Add system. out. println() function with the message to enter basic salary.

Declare input as Scanner.

Take the basic salary and save it in variable.

Calculate Gross salary and save it in other variable.

Add system. out.

Answered by scienceworm1
6

ʀ ɴsʀ

Here the basic salary will be calculated as per follows Basic Salary + Dearness Allowance + HRA Allowance + conveyance allowance + entertainment allowance + medical insurance here the gross salary 594,000. The deduction will be Income tax and provident fund under which the net salary comes around 497,160.

Similar questions