1. Draw a flowchart which will compute the bonus of an employee. If the employee's monthly salary is less than 1,000.00 pesos, the bonus is 50% of the salary. For employees with salaries greater than 1,000.00 pesos, the bonus is 1,000.00. Print out the name and corresponding bonus of the employee. Provide an algorithm for this. Write your answer on a separate sheet of paper.
Answers & Comments
Start
Declare variables employeeName,employeeMonthlySalary, bonus
Read employeeName
Read employeeMonthlySalary
If employeeMonthlySalary<=2000.00 then
bonus=employeeMonthlySalary*0.5
else
bonus=1500.00
Print name
Print employeeMonthlySalary
Print bonus
Stop
Explanation:
Im not in my answer