Tuesday, March 18, 2008

Lunch Cart Example

/*
* Class LunchCart-
*
* Attributes:
* totalProfit
* numSandwiches
* numSodas
* totalTaxes
*
*
* Methods:
*
*
* Class Employees(String employee_num, String emp_name, int hours_wked)
* Class Employees(String employee_num, String emp_name)
* {
*
* }
* Attributes:
* hoursWorked
* employeeNumber
* salary
*
*
* Methods:
* getTotalHoursWorked()
* setTotalHoursWorked()
* getEmployeeNumber()
*
*/
public class LunchCart {
//Input, output using Scanner
//Process data using relevant conditionals and/or looping.
//What's most important for the LunchCart!!

}

No comments: