Black dot printing is attempting to organize carpools to save energy.

Black Dot Printing is attempting to organize carpools to save energy. Each input record contains an employee’s name and town of residence. Ten percent of the company’s employees live in Wonder Lake; 30 percent live in Woodstock. Because these towns are both north of the company, Black Dot wants to encourage employees who live in either town, to drive to work together.

 

Write a Java program used to accept an employee’s data and displays it with a message indicating whether the employee is a candidate for the carpool. Save the class as Carpool.java