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

Data Analytics And Quality Management Fundamental Tools

Authors: Joseph Nguyen

1st Edition

B0CNGG3Y2W, 979-8862833232

More Books

Students also viewed these Databases questions