Question: Provide the pseudo - code and the C + + project SP 2 0 2 4 _ LAB 4 PART 2 _ yourLastNamee with the
Provide the pseudocode and the C project SPLABPARTyourLastNamee with the C source file SPSaleEmployeeSalaryyourLastName. The application will help a company to calculate the salary of their Sale Employee at the end of the month.
First, the application asks and reads input from the keyboard for the name string employee id string of the Sale Employee, and the sale amount float that is the total of sale money the Sale Employee made in the month
The month salary of the sale employee is calculated by using the following formula where the base salary is $:
The salary of the month base salary commission amount bonus amount
Commission amount and Bonus amount should be calculated based on the rate in the following table:
Sale amount Commission
Rate Bonus
Rate
If sale amount is greater than or equal to $
On the sale
On any sale amount beyond $
If sale amount is greater than or equal to $
and less than $
On the sale
On any sale amount beyond $
If sale amount is greater than $ and less than $
On the sale
On any sale amount beyond $
If sale amount is less than or equal to $
On the sale
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
