subject

Problem: A manufacturing company has classified its executives into four levels for the benefits of certain perks. The levels and corresponding perks are shown below: Perks
Level Conveyance Entertainment
allowance allowance

1 1000 500
2 750 200
3 500 100
4 250 -

An executive’s gross salary includes basic pay, house rent allowance at 25% of basic pay and other perks. Income tax is withheld from the salary on a percentage basis as follows:

Gross salary Tax Rate

Gross<=2000 No tax deduction
2000< Gross<=4000 3%
4000 Gross>5000 8%

Write a program that will read an executive’s job number, level number, and basic pay and then compute the net salary after withholding income tax.
Problem Analysis:
Gross salary=basic pay+ house rent allowance +perks
Net salary=Gross salary- income tax

The computations of perks depends on the level, while the income tax depends on the gross salary.
The major steps are Read data, calculate perks, calculate gross salary, calculate income tax, compute net salary and print the results.

How tomake it Visual Basic in Visual studio?

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 16:50, glitch14
3.2.5 suppose that we have an estimate ahead of time of how often search keys are to be accessed in a bst, and the freedom to insert items in any order that we desire. should the keys be inserted into the tree in increasing order, decreasing order of likely frequency of access, or some other order? explain your answer.
Answers: 1
image
Computers and Technology, 22.06.2019 23:50, Crull5999
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
image
Computers and Technology, 23.06.2019 13:30, powellmj9216
Spoons are designed to be used for: spring hammering. applying body filler. identifying high and low spots. sanding highly formed areas.
Answers: 3
image
Computers and Technology, 23.06.2019 21:40, gaby06
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
You know the right answer?
Problem: A manufacturing company has classified its executives into four levels for the benefits of...

Questions in other subjects:

Konu
English, 15.08.2021 08:10