Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
include include using namespace std int main const int numEmployees 10 ...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