Answer to Question #293364 in Algorithms for Armiles

Question #293364

. An ABC company’s plans to give a 6% year-end bonus to each of its employees



earning Rs 6,000 or more per month, and a fixed Rs. 250 bonus to the remaining



employees. Write an algorithm for calculating the bonus for an employee.

1
Expert's answer
2022-02-02T12:48:39-0500
Start
  Declare Real employeeEarning
  Declare Real bonus
  Set bonus=250
  Display "Enter employee earning: "
  Input employeeEarning
  if employeeEarning>=6000 then
     bonus=employeeEarning*0.06
  end if
  Display "The bonus for an employee: Rs.",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
New on Blog
APPROVED BY CLIENTS