Question
The gross salary of employees of Mutison chemists is based on the basic and additional benefits.Employees with more than 10 year's experience get an additional pay of 10% of their basic salary.Bonuses are given as oer employees' sales of the month as:
>200,000 15%
100,000-200,000 10%
Below 100,000 5%
Draw a flowchart for the program that will calculate gross salary and output each employee's basic salary,gross salary and all benefits
>200,000 15%
100,000-200,000 10%
Below 100,000 5%
Draw a flowchart for the program that will calculate gross salary and output each employee's basic salary,gross salary and all benefits
Answers
GPT-4o mini
Creating a flowchart to illustrate the program for calculating the gross salary of employees at Mutison Chemists involves several key steps. Below, I will describe how to set up the flowchart, detailing each component:
### Flowchart Components
1. **Start**: Indicate the start of the process.
2. **Input Employee Details**:
- Input the employee's name.
- Input the employee's basic salary.
- Input the employee's years of experience.
- Input the employee's sales for the month.
3. **Calculate Additional Pay**:
- **Decision**: If years of experience > 10, then Additional Pay = 10% of Basic Salary.
- If not, Additional Pay = 0.
4. **Calculate Bonus**:
- **Decision**: If Sales > 200,000, then Bonus = 15% of Sales.
- **Decision**: Else if Sales >= 100,000, then Bonus = 10% of Sales.
- **Decision**: Else Bonus = 5% of Sales.
5. **Calculate Gross Salary**:
- Gross Salary = Basic Salary + Additional Pay + Bonus
6. **Output**:
- Output Employee's Name.
- Output Basic Salary.
- Output Additional Pay.
- Output Bonus.
- Output Gross Salary.
7. **End**: Indicate the end of the process.
### Text Representation of the Flowchart
```
Start
|
v
Input Employee Name
|
v
Input Basic Salary
|
v
Input Years of Experience
|
v
Input Sales of the Month
|
v
+-----------------------------+
| Is Experience > 10 years? |
+-----------------------------+
| Yes / No
/ \
v v
Additional Additional Pay = 0
Pay = 10% of Basic Salary
|
v
+------------------------------+
| Is Sales > 200,000? |
+------------------------------+
| Yes / No
/ \
v v
Bonus = 15% of Sales
|
v
+-------------------------------+
| Is Sales >= 100,000? |
+-------------------------------+
| Yes / No
/ \
v v
Bonus = 10% of Sales
|
v
Bonus = 5% of Sales
|
v
Gross Salary = Basic Salary + Additional Pay + Bonus
|
v
Output Employee's Name
Output Basic Salary
Output Additional Pay
Output Bonus
Output Gross Salary
|
v
End
```
### Usage
You can now reference this text-based flowchart when creating a visual flowchart using flowcharting software or by hand. Each block represents a step in the calculation process, and arrows show the flow of logic based on decisions made during the computation of the gross salary.
### Flowchart Components
1. **Start**: Indicate the start of the process.
2. **Input Employee Details**:
- Input the employee's name.
- Input the employee's basic salary.
- Input the employee's years of experience.
- Input the employee's sales for the month.
3. **Calculate Additional Pay**:
- **Decision**: If years of experience > 10, then Additional Pay = 10% of Basic Salary.
- If not, Additional Pay = 0.
4. **Calculate Bonus**:
- **Decision**: If Sales > 200,000, then Bonus = 15% of Sales.
- **Decision**: Else if Sales >= 100,000, then Bonus = 10% of Sales.
- **Decision**: Else Bonus = 5% of Sales.
5. **Calculate Gross Salary**:
- Gross Salary = Basic Salary + Additional Pay + Bonus
6. **Output**:
- Output Employee's Name.
- Output Basic Salary.
- Output Additional Pay.
- Output Bonus.
- Output Gross Salary.
7. **End**: Indicate the end of the process.
### Text Representation of the Flowchart
```
Start
|
v
Input Employee Name
|
v
Input Basic Salary
|
v
Input Years of Experience
|
v
Input Sales of the Month
|
v
+-----------------------------+
| Is Experience > 10 years? |
+-----------------------------+
| Yes / No
/ \
v v
Additional Additional Pay = 0
Pay = 10% of Basic Salary
|
v
+------------------------------+
| Is Sales > 200,000? |
+------------------------------+
| Yes / No
/ \
v v
Bonus = 15% of Sales
|
v
+-------------------------------+
| Is Sales >= 100,000? |
+-------------------------------+
| Yes / No
/ \
v v
Bonus = 10% of Sales
|
v
Bonus = 5% of Sales
|
v
Gross Salary = Basic Salary + Additional Pay + Bonus
|
v
Output Employee's Name
Output Basic Salary
Output Additional Pay
Output Bonus
Output Gross Salary
|
v
End
```
### Usage
You can now reference this text-based flowchart when creating a visual flowchart using flowcharting software or by hand. Each block represents a step in the calculation process, and arrows show the flow of logic based on decisions made during the computation of the gross salary.
Related Questions
the gross salary of five employees in maendeleo books enterprise is based on basic salary and additi...
Why is it important for HR managers to manage office politics
to help employees understand policies...
which of the following is a reason, it is important for HR managers to manage office politics becaus...