2- A program uses a char variable named department and two double variables named salary and raise. The department variable contains one of the following letters (entered in either uppercase or lowercase): A, B, C, or D. Employees in departments A and B are receiving a 2% raise. Employees in department C are receiving a 1.5% raise, and employees in department D are receiving a 3% raise. Using the switch statement, write the C++ code to calculate the appropriate raise amount.
Custom Academic Papers
100% Original, Plagiarism Free, Customized to your instructions!
Programming ( 3 DIFFERENT INDIVIDUAL PARTS)
Can't find what you are looking for?
Post your question on MoreEssays.com and get help from one of our expert tutors in topics ranging from mathematics to rocket science!
Get your expert answer on More Essays
We’ve got thousands of tutors in different areas of study who are willing to help you with any kind of academic assignment, be it a math homework or an article. Talk to us now to get your answer.