Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a c++ program using switch statement that assigns to thevariable rank the expected salary of an employee whose rank hasbeen stored in rank, rank

write a c++ program using switch statement that assigns to thevariable rank the expected salary of an employee whose rank hasbeen stored in rank, rank A pays 9% tax, rank B pays 7% tax, rank Cpays 6% tax, and rank D pays 5% tax. Let your program accept therank of employee from user, and then calculate the Tax deductionand Net salary after tax deductions. Use the following table. Netsalary= salary -Tax .

RankABCD
Salary25000200001500010000

sample output:

Enter Rank:B

Tax deduction is 1400

the net salary is 18600

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions

Question

What are MS4s and what type of permit do they require?

Answered: 1 week ago

Question

List and explain the steps of process design. AppendixLO1

Answered: 1 week ago

Question

Illustrate the process design with a suitable example. AppendixLO1

Answered: 1 week ago

Question

Discuss the criteria for make or buy. AppendixLO1

Answered: 1 week ago