Question: Design a program using C++ language to implement the following requirements: Calculate the net salary for an employee. The net salary details are: basic
Design a program using C++ language to implement the following requirements: Calculate the net salary for an employee. The net salary details are: basic salary, allowance, deduction and extra bonus according to her/his category. Category CAT 1 CAT 2 CAT 3 Others Extra bonus 300.65 BD 200.7 BD 60.8 BD 35.3 BD Use LOOP to implement the repetition constructs. Assume the number of employees = 10. Use SWITCH..CASE to implement the selection construct. The salary = salary + allowance - deduction + extra bonus. Use the floor function to round down the net salary for each employee.
Step by Step Solution
There are 3 Steps involved in it
include include using namespace std int main const int numEmployees 10 ... View full answer
Get step-by-step solutions from verified subject matter experts
