C# - Visual Studio Community 1.3 In a country XYZ a government organization classifies its employees according...

60.1K

Verified Solution

Question

Programming

C# - Visual Studio Community

1.3 In a country XYZ a government organization classifies itsemployees according to categories: A and B. The salary of anemployee depends on the number of years of service, and thecategory of the employee. The gross yearly salary grid is shownbelow.

Category A

Category B

Years

0-4

$   45,000

$ 52,000

5-9

$   50,000

$ 60,000

10-14

$ 55,000

$ 67,000

15-19

$ 58,000

$ 74,000

>19

$ 60,000

$ 80,000

If an employee earns less than $55,000, the tax rate on incomeis 30%. Between $55,000 and below $70,000 the rate is 35%. Above$70,000, the rate is 40%. Employees can also choose between 0%, 3%,or 5% option for their yearly pension savings as a percentage oftheir pay after taxes. Develop an application that will allowindicating employee category (use radio buttons), years of service(text box or list box), and chosen pension saving plan (radiobuttons). The application should calculate: 1) the gross salary; 2)taxes deducted; 3) pension deduction; and 4) the net pay (all on ayearly basis).

Answer & Explanation Solved by verified expert
3.8 Ratings (689 Votes)
Codeusing Systemusing SystemWindowsFormspublic partial class frmMain Formdouble categoryASalary 45000 50000 55000 58000 60000double categoryBSalary 52000 60000 67000 74000    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students