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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:10
This program reads a file called 'test.txt'. you are required to write two functions that build a wordlist out of all of the words found in the file and print all of the unique words found in the file. remove punctuations using 'string.punctuation' and 'strip()' before adding words to the wordlist. write a function build_wordlist() that takes a 'file pointer' as an argument and reads the contents, builds the wordlist after removing punctuations, and then returns the wordlist. another function find_unique() will take this wordlist as a parameter and return another wordlist comprising of all unique words found in the wordlist. example: contents of 'test.txt': test file another line in the test file output: ['another', 'file', 'in', 'line', 'test', 'the']
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
Sports and entertainment class, your goal is to increase attendance and make a profit for a game by getting your team on a winning track with total salaries less than $3,000,000
Answers: 3
question
Computers and Technology, 24.06.2019 11:00
The program below has been generalized to read a user's input value for hourlywage. run the program. notice the user's input value of 10 is used. modify that input value, and run again. generalize the program to get user input values for workhoursperweek and workweeksperyear (change those variables' initializations to 0). run the program. monthsperyear will never change, so define that variable as final. use the standard for naming final variables. ex: final int max_length
Answers: 2
question
Computers and Technology, 24.06.2019 20:30
Where is permanent data in the computer stored whenever gym starts his laptop he sees some commands in numbers appearing on the screen these instructions are being preceded by the control unit in
Answers: 1
You know the right answer?
Problem: A manufacturing company has classified its executives into four levels for the benefits of...
Questions
question
History, 06.11.2020 06:50
question
Mathematics, 06.11.2020 06:50
question
History, 06.11.2020 06:50
question
Mathematics, 06.11.2020 06:50
question
Mathematics, 06.11.2020 06:50
question
Spanish, 06.11.2020 06:50
Questions on the website: 13722363