//File:	Employee4Client.java
import CSLib.*;
public class Employee4Client
{
	public static void main (String [] args)
	{
		//Create 2 employees, person1, who is created, but not initialized
		//and person2, who is created and initialized through the copy
		//constructor
		Employee4 person1 = new Employee4 ();
		Employee4 person2 = new Employee4 ("Bill", "Steinmetz", 50, 9);
		
		//Get attributes of person1
		person1.setName();
		person1.setHoursWorked();
		person1.setPayRate();
		person1.calculateSalary();
		
		//Calculate person2's salary
		person2.calculateSalary();
		
		//output person1 and person2 attributes
		OutputBox out = new OutputBox();
		out.setSize(550, 75);
		out.println (person1.toString());
		out.println (person2.toString());
		
		person2.payRaise (10);	//10% pay raise to person2
		person2.calculateSalary();
		out.println (person2.toString());
	}
}
