Question: Write a program in C + + using switch cases to display if the amount of bounce the employee will get based on the annual

Write a program in C++ using "switch cases" to display if the amount of bounce the employee will get based on the annual evaluation.
You should get the employee basic salary and his annual evaluation (A, B, C, D or F)
Then display the bounce based on the following table:
\table[[Rating,Bounce multiplier],[S,3],[A,1.5],[F,No bounce]]
You should cover all four cases.
Sample run:
Enter your annual evaluation rating: S
Enter your Basic Salary: 5000 Your bounce is 15000 SAR
Enter your annual evaluation rating: A Enter your Basic Salary: 4500 Your bounce is 6750 SAR
Enter your annual evaluation rating: F Enter your Basic Salary: 4000
No bounce
Enter your annual evaluation rating: H Enter your Basic Salary: 5000 Invalid input
 Write a program in C++ using "switch cases" to display if

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!