Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment # 2 : Submit a txt file only via Google Classroom Write a program in C + + using switch cases to display if

Assignment #2:
Submit a txt file only via Google Classroom
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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

c. What were the reasons for their move? Did they come voluntarily?

Answered: 1 week ago

Question

5. How do economic situations affect intergroup relations?

Answered: 1 week ago