Computers and Technology

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?

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 11:30, nate1808
What does the https: // mean when you type in a website
Answers: 1
image
Computers and Technology, 24.06.2019 15:30, sonyfan
What is the total number of time zones that can be configured to show by default in a calendar in outlook 2016?
Answers: 1
image
Computers and Technology, 25.06.2019 05:10, Joosee4075
Create a console project in c#. 1. create an interface "imyinterface. cs" - add a method "string imessage()" 2. create a class named "c1.cs" - add 4 private data members, create property for each data member double loanamnout=0.0; double years=0.0; double interests=0.0; double interestrate=0.0; 3. - add a constructor with parameters to assign values to loanamnout, years, interestrate with values that user entered. 4. - add one method “payinterests()” to return the interests interests = loanamnout * interestrate * years 5. - inheritate "imyinterface", implement the method " imessage()", return string "be ready! ” 6. in program. cs, have users to enter loanamnout, years, interestrate. - call method payinterests() to display total interests. - call imessage() to display "be ready! ”
Answers: 3
image
Computers and Technology, 25.06.2019 07:30, volocibel
Which behavior demonstrates teamwork
Answers: 1
Do you know the correct answer?
Problem: A manufacturing company has classified its executives into four levels for the benefits of...

Questions in other subjects:

Konu
Mathematics, 12.10.2019 20:30