Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

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

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions