algorithm

a company pays an annual salary bonus to its employees. the bonus is calculated by multiplying the
employee's annual salary by a bonus rate, which is based on the number of years the employee had
been with the company. Employees working at the company for less than 5 years receive a 1% bonus:
all others receive a 2% bonus

I need to show a pseudocode chat with the information input, processing items:if any, output, and
algorithm

then the actual algorithm steps. should be two version of algorithm. one for the 1% and one for the
2% that prints each employee's bonus.
Homework questions are for you to work out, so that you will learn from the experience.


Two versions of an algorithm. Really? That is like saying that if you have equation y = a*x + b, you will need a separate program for each value of x.
Topic archived. No new replies allowed.