Answer to Question #243547 in Algorithms for Smiley

Question #243547

DEI Manufacturing company plans to give a year-end bonus to each of their employees. Draw a flowchart which will compute the bonus of an employee. Consider the following conditions: If the employee`s monthly salary is less than P2000.00, the bonus is 50% of the salary; for employees with salary greater than P2000.00, the bonus is P1500.00. Print the name and the corresponding bonus for each employee. Write the equivalent algorithm. (Pseudocoding and Flowcharting)


1
Expert's answer
2021-09-29T10:29:37-0400
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






Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS