Answer to Question #274806 in Algorithms for Tineeeeerrr

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.

1
Expert's answer
2021-12-03T00:37:58-0500
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS