Question #274806

Draw a flowchart which will compute the bonus of an employee . If the employees monthly salary is less than 1,000 pesos. the bonus is 50% of the salary. For employees with salary is greater than 1,000 pesos the bonus is 1,000. Print out the name and corresponding bones of the employee. Provide algorithm for this.

Expert's answer

input
   name                 \\ employee name
   s                \\ employee salary
   b                 \\ bonus
   If s<1000 then 
      b=0.5*s 
   else if s>1000 then    
    b=1000
output
   Print name, s 
   




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!

LATEST TUTORIALS
APPROVED BY CLIENTS