Homework 2, Algorithm Development.

Short Description:

Develop algorithms to solve simple problems.

Goals

When you finish this homework, you should have:

Formal Description

Write an algorithm to solve each of the following problems.
  1. The Pioneer WoodChuck Enterprise company (PWE) has contacted you and they would like you to help their billing department construct bills for customers. The only service PWE offers is tree removing, which is billed at $75 per hour, no partial hours. The company would like you to produce an algorithm that allows them to compute the cost to a customer for tree removing services if you know the number of hours spent removing trees for that customer.

  2. PWE needs you to help with payroll as well. They would like you to compute the weekly wage for all employees. All employees are hourly and work at the same rate. However, that rate changes week per week based on weather conditions, so you must ask for the rate each time the algorithm is used.

    Employees who work more than 40 hours in a week are paid 50% overtime for each hour over 40 worked. So if Bob works 45 hours, makes regular wage on 40 hours of regular work and 1.5 times regular wage for 5 hours of overtime.

    Your task is to develop an algorithm to compute the amount each person is paid.

Each algorithm should contain

I expect you to follow the example from class.

Required Files

A single word document solving the problems.

Submission

Submit the assignment to the D2L folder Homework 2 by the due date.