import ccj.*; public class Count { public static void main(String[] args) { Employee[] staff = new Employee[5]; staff[0] = new Employee("Hacker, Harry", 35000.0); staff[1] = new Employee("Reindeer, Rudolf", 63000.0); staff[2] = new Employee("Cracker, Carl", 48000.0); staff[3] = new Employee("Lam, Larry", 78000.0); staff[4] = new Employee("Sandman, Susan", 51500.0); int i; int count = 0; for (i = 0; i < staff.length; i++) { if (staff[i].getSalary() > 50000.0) count++; } System.out.println(count + " employees."); } }