*
Computer Programming I
Programming Assignment 2 - Payroll.java *

Problem

Write a program to compute a weekly payroll.

Input / Output (as variables)

Work hours     : 40
Overtime hours : 10
Pay rate       : 13.0

You will earn $715.0 this week.

Discussion

Overtime pay rate is time and a half.

Use variables for each step of the calculations and name them appropriately.

Create a standard program header as follows:

/*
 * COURSE        : Computer Programming I
 *
 * ASSIGNMENT    : 2
 * PROGRAM       : Payroll.java
 * PROGRAMMER    : Your Name
 *
 * DESCRIPTION   : Program description goes here.
 *
 * COMMENTS      : as needed
 *
 * LAST MODIFIED : date
*/

Comment your program for readability and ease of maintenance.

Be sure to test your program thoroughly!


Submission

Place your algorithm and source file in your H:\CP1\Java\BookClasses folder by the due date. There is nothing to hand in.

*

This page maintained by bobh@hesston.edu