Answered step by step
Verified Expert Solution
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 #:
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:
tableRatingBounce multiplierSAFNo bounce
You should cover all four cases.
Sample run:
Enter your annual evaluation rating:
Enter your Basic Salary:
Your bounce is SAR
Enter your annual evaluation rating: A
Enter your Basic Salary:
Your bounce is SAR
Enter your annual evaluation rating:
Enter your Basic Salary:
No bounce
Enter your annual evaluation rating:
Enter your Basic Salary:
Invalid input
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started